summaryrefslogtreecommitdiff
path: root/Xi/xigrabdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-06 15:05:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:33:23 +1000
commitc3c64978c4a231a3a8c18211d0716df875c75efa (patch)
tree4204e4c536fa62b6ef0ae2c1f53e5427b1bfa8d5 /Xi/xigrabdev.c
parent0d947aa8e87c5d92b702c60190c8bc5d32c9ba9c (diff)
Xi: fix a couple of wrong dixLookupDevice permission tags.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xigrabdev.c')
-rw-r--r--Xi/xigrabdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xigrabdev.c b/Xi/xigrabdev.c
index de13256b0..20f4e5167 100644
--- a/Xi/xigrabdev.c
+++ b/Xi/xigrabdev.c
@@ -70,7 +70,7 @@ ProcXIGrabDevice(ClientPtr client)
REQUEST(xXIGrabDeviceReq);
REQUEST_AT_LEAST_SIZE(xXIGrabDeviceReq);
- ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetFocusAccess);
+ ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess);
if (ret != Success)
return ret;