From 9f1570c8f4f549cdd2fbae1234011290fcc73e18 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 26 Jun 2009 09:12:47 +1000 Subject: input: include effective modifiers in device events. Require inputproto 1.9.99.13 Signed-off-by: Peter Hutterer --- include/events.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3