diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-02-15 14:27:53 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-09-02 14:49:45 +1000 |
commit | 53b58e679f977550301130794c8cb19391ecceb7 (patch) | |
tree | 41c781b6b54e62c3ecf849b8559e5a4f265f206f /XI2.h | |
parent | af1fb609beece899188469a81ac9d8c5e07bfa4a (diff) |
Add XIPointerEmulated for emulated events
The XIPointerEmulated flag on pointer events means that the event was
emulated from a smooth-scroll or touch event to support legacy events,
and the client may ignore this if it is listening to the other events.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2.h')
-rw-r--r-- | XI2.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -146,6 +146,7 @@ /* Device event flags (key events only) */ #define XIKeyRepeat (1 << 16) /* Device event flags (pointer events only) */ +#define XIPointerEmulated (1 << 16) /* XI2 event mask macros */ #define XISetMask(ptr, event) (((unsigned char*)(ptr))[(event)>>3] |= (1 << ((event) & 7))) |