mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 15:00:09 +00:00
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:
@@ -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);
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user