summaryrefslogtreecommitdiff
path: root/Xi/xipassivegrab.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 13:33:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 13:48:43 +1000
commit080b0331b3d1de1bab5ecdc9df175b287616e358 (patch)
treee3c473805192280d2f78876936e6e7a539fd0ed1 /Xi/xipassivegrab.c
parentbee02a154145c0e4ed97980f7857dc27a96b1be8 (diff)
input: Add grabtype to GrabParameters.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xipassivegrab.c')
-rw-r--r--Xi/xipassivegrab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c
index fa76a770c..fab333592 100644
--- a/Xi/xipassivegrab.c
+++ b/Xi/xipassivegrab.c
@@ -130,6 +130,7 @@ ProcXIPassiveGrabDevice(ClientPtr client)
rep.num_modifiers = 0;
memset(&param, 0, sizeof(param));
+ param.grabtype = GRABTYPE_XI2;
param.ownerEvents = stuff->owner_events;
param.this_device_mode = stuff->grab_mode;
param.other_devices_mode = stuff->paired_device_mode;