XKB: Add more bits to xkbsrv.h
Add the device private index, given we use that in a macro here, and also the prototype for xkbUnwrapProc, since that's also useful.
This commit is contained in:
parent
e29e69960d
commit
a3d48de5f2
|
@ -246,8 +246,11 @@ typedef struct
|
||||||
device->public.realInputProc = oldprocs->realInputProc; \
|
device->public.realInputProc = oldprocs->realInputProc; \
|
||||||
device->unwrapProc = oldprocs->unwrapProc;
|
device->unwrapProc = oldprocs->unwrapProc;
|
||||||
|
|
||||||
|
extern int xkbDevicePrivateIndex;
|
||||||
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr) (dev)->devPrivates[xkbDevicePrivateIndex].ptr)
|
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr) (dev)->devPrivates[xkbDevicePrivateIndex].ptr)
|
||||||
|
|
||||||
|
extern void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, pointer);
|
||||||
|
|
||||||
/***====================================================================***/
|
/***====================================================================***/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user