mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 19:30:05 +01: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.
(cherry picked from commit a3d48de5f2)
This commit is contained in:
parent
63c6d9d622
commit
b600e7c123
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue