summaryrefslogtreecommitdiff
path: root/dix/eventconvert.c
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 /dix/eventconvert.c
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 'dix/eventconvert.c')
-rw-r--r--dix/eventconvert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index ac2b0c310..a65bf68da 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -417,10 +417,12 @@ eventToDeviceEvent(DeviceEvent *ev, xEvent **xi)
xde->mods.base_mods = ev->mods.base;
xde->mods.latched_mods = ev->mods.latched;
xde->mods.locked_mods = ev->mods.locked;
+ xde->mods.effective_mods = ev->mods.effective;
xde->group.base_group = ev->group.base;
xde->group.latched_group = ev->group.latched;
xde->group.locked_group = ev->group.locked;
+ xde->group.effective_group = ev->group.effective;
ptr = (char*)&xde[1];
for (i = 0; i < sizeof(ev->buttons) * 8; i++)