summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-26 09:12:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-12 16:57:08 +1000
commit9f1570c8f4f549cdd2fbae1234011290fcc73e18 (patch)
tree749231427ef1a93e41d3b289926d08b4784a0a89 /include
parent78aedbe609e309446e71835ed15e4557d3ccf723 (diff)
input: include effective modifiers in device events.
Require inputproto 1.9.99.13 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/events.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/events.h b/include/events.h
index f6405c5c2..d34637eba 100644
--- a/include/events.h
+++ b/include/events.h
@@ -101,11 +101,13 @@ typedef struct
uint32_t base; /**< XKB base modifiers */
uint32_t latched; /**< XKB latched modifiers */
uint32_t locked; /**< XKB locked modifiers */
+ uint32_t effective;/**< XKB effective modifiers */
} mods;
struct {
uint8_t base; /**< XKB base group */
uint8_t latched; /**< XKB latched group */
uint8_t locked; /**< XKB locked group */
+ uint8_t effective;/**< XKB effective group */
} group;
Window root; /**< Root window of the event */
int corestate; /**< Core key/button state BEFORE the event */