summaryrefslogtreecommitdiff
path: root/dix
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 /dix
parentbee02a154145c0e4ed97980f7857dc27a96b1be8 (diff)
input: Add grabtype to GrabParameters.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c
index b5b052181..229e67d36 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -5172,6 +5172,7 @@ ProcGrabKey(ClientPtr client)
REQUEST_SIZE_MATCH(xGrabKeyReq);
memset(&param, 0, sizeof(param));
+ param.grabtype = GRABTYPE_CORE;
param.ownerEvents = stuff->ownerEvents;
param.this_device_mode = stuff->keyboardMode;
param.other_devices_mode = stuff->pointerMode;
@@ -5287,6 +5288,7 @@ ProcGrabButton(ClientPtr client)
return rc;
memset(&param, 0, sizeof(param));
+ param.grabtype = GRABTYPE_CORE;
param.ownerEvents = stuff->ownerEvents;
param.this_device_mode = stuff->keyboardMode;
param.other_devices_mode = stuff->pointerMode;