diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-06 18:49:57 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-06 18:49:57 +0930 |
commit | 6334d4e7be18de5f237c12a6dc20f75aa23477d0 (patch) | |
tree | 944712ad644e14918fd237530282f396a74e8e50 /include/xkbsrv.h | |
parent | 49dbe9a757a3d7a0b9ab318242c6cc0cbd4dd1f0 (diff) |
xkb: enable XI event processing for xkb.
XI events can now take the same processing paths as core events, and should do
the correct state changes etc.
There's some cases where XKB will use KeyPress as type for an event to be
delivered to the client. Stuck warnings in, not sure what the correct solution
is yet.
Diffstat (limited to 'include/xkbsrv.h')
-rw-r--r-- | include/xkbsrv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xkbsrv.h b/include/xkbsrv.h index be2cff67f..e220f0ac9 100644 --- a/include/xkbsrv.h +++ b/include/xkbsrv.h @@ -311,8 +311,9 @@ extern CARD32 xkbDebugFlags; #define _XkbErrCode3(a,b,c) _XkbErrCode2(a,(((unsigned int)(b))<<16)|(c)) #define _XkbErrCode4(a,b,c,d) _XkbErrCode3(a,b,((((unsigned int)(c))<<8)|(d))) -extern int DeviceKeyPress,DeviceKeyRelease; +extern int DeviceKeyPress,DeviceKeyRelease,DeviceMotionNotify; extern int DeviceButtonPress,DeviceButtonRelease; +extern int DeviceEnterNotify,DeviceLeaveNotify; #ifdef XINPUT #define _XkbIsPressEvent(t) (((t)==KeyPress)||((t)==DeviceKeyPress)) |