diff options
author | Daniel Stone <daniel@fooishbar.org> | 2009-08-21 16:03:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-04 12:59:41 +1000 |
commit | bfb219f532f3c78ba905424365ee7c5f7b5f21a2 (patch) | |
tree | 82762cc287549124d1e04788b465525dc326aa3d /include/xkbsrv.h | |
parent | 3d988e01e41e98fc5160f825a250522ba274d09f (diff) |
input: allow for detectable autorepeat.
For core and XI1 events, store the key_repeat flag in the sequence number
until TryClientEvents. The sequenceNumber is unset until TryClientEvents.
[Also thrown in, some random indentation changes. Thanks]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/xkbsrv.h')
-rw-r--r-- | include/xkbsrv.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/xkbsrv.h b/include/xkbsrv.h index cdca8f157..2c7d86aaa 100644 --- a/include/xkbsrv.h +++ b/include/xkbsrv.h @@ -297,8 +297,6 @@ extern _X_EXPORT int XkbKeyboardErrorCode; extern _X_EXPORT char * XkbBaseDirectory; extern _X_EXPORT char * XkbBinDirectory; -extern _X_EXPORT pointer XkbLastRepeatEvent; - extern _X_EXPORT CARD32 xkbDebugFlags; #define _XkbTypedAlloc(t) ((t *)xalloc(sizeof(t))) @@ -942,7 +940,7 @@ extern Bool XkbCopyDeviceKeymap( DeviceIntPtr /* dst */, DeviceIntPtr /* src */); -extern Bool XkbFilterEvents( +extern void XkbFilterEvents( ClientPtr /* pClient */, int /* nEvents */, xEvent* /* xE */); |