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:
Daniel Stone 2007-10-27 21:35:31 +03:00
parent e29e69960d
commit a3d48de5f2

View File

@ -246,8 +246,11 @@ typedef struct
device->public.realInputProc = oldprocs->realInputProc; \
device->unwrapProc = oldprocs->unwrapProc;
extern int xkbDevicePrivateIndex;
#define XKBDEVICEINFO(dev) ((xkbDeviceInfoPtr) (dev)->devPrivates[xkbDevicePrivateIndex].ptr)
extern void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, pointer);
/***====================================================================***/