diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 13:33:29 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 13:48:43 +1000 |
commit | 080b0331b3d1de1bab5ecdc9df175b287616e358 (patch) | |
tree | e3c473805192280d2f78876936e6e7a539fd0ed1 /dix | |
parent | bee02a154145c0e4ed97980f7857dc27a96b1be8 (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.c | 2 |
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(¶m, 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(¶m, 0, sizeof(param)); + param.grabtype = GRABTYPE_CORE; param.ownerEvents = stuff->ownerEvents; param.this_device_mode = stuff->keyboardMode; param.other_devices_mode = stuff->pointerMode; |