diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-16 13:36:59 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:26:07 +1000 |
commit | ee1a0b4f507f32c7abe07b3324dc3a6c210964c4 (patch) | |
tree | ffeabf96f10787c0479f086d774aa7d309e5257f /include/X11 | |
parent | 5f4058db225d7cb4455fd27b11dff10422e94748 (diff) |
Replace XiSelectEvent() with XISelectEvent().
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/extensions/XInput2.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index a31b1b7..2c2b437 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -68,6 +68,13 @@ typedef union { XIDetachSlaveInfo detach; } XIAnyHierarchyChangeInfo; +typedef struct +{ + int deviceid; + int mask_len; + unsigned char* mask; +} XIDeviceEventMask; + _XFUNCPROTOBEGIN extern Bool XIQueryDevicePointer( @@ -127,21 +134,11 @@ extern Bool XIGetClientPointer( int* /* deviceid */ ); -typedef CARD16 XIEventType; - -typedef struct -{ - int deviceid; - int num_types; - XIEventType *types; -} XIDeviceEventMask; - -extern int -XISelectEvent( +extern int XISelectEvent( Display* /* dpy */, Window /* win */, - XIDeviceEventMask** /* masks*/, - int /* nmasks */ + XIDeviceEventMask* /* masks*/, + int /* nmasks */ ); _XFUNCPROTOEND |