diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-06 15:05:06 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-08 14:33:23 +1000 |
commit | c3c64978c4a231a3a8c18211d0716df875c75efa (patch) | |
tree | 4204e4c536fa62b6ef0ae2c1f53e5427b1bfa8d5 | |
parent | 0d947aa8e87c5d92b702c60190c8bc5d32c9ba9c (diff) |
Xi: fix a couple of wrong dixLookupDevice permission tags.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | Xi/xiallowev.c | 2 | ||||
-rw-r--r-- | Xi/xigrabdev.c | 2 | ||||
-rw-r--r-- | Xi/xisetdevfocus.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Xi/xiallowev.c b/Xi/xiallowev.c index a8cf1b67f..4df9a1033 100644 --- a/Xi/xiallowev.c +++ b/Xi/xiallowev.c @@ -65,7 +65,7 @@ ProcXIAllowEvents(ClientPtr client) REQUEST(xXIAllowEventsReq); REQUEST_SIZE_MATCH(xXIAllowEventsReq); - ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetFocusAccess); + ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess); if (ret != Success) return ret; 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; diff --git a/Xi/xisetdevfocus.c b/Xi/xisetdevfocus.c index 5945abd7b..7201e65cd 100644 --- a/Xi/xisetdevfocus.c +++ b/Xi/xisetdevfocus.c @@ -95,7 +95,7 @@ ProcXIGetDeviceFocus(ClientPtr client) REQUEST(xXIGetDeviceFocusReq); REQUEST_AT_LEAST_SIZE(xXIGetDeviceFocusReq); - ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetFocusAccess); + ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGetFocusAccess); if (ret != Success) return ret; if (!dev->focus) |