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 /Xi/xisetdevfocus.c | |
parent | 0d947aa8e87c5d92b702c60190c8bc5d32c9ba9c (diff) |
Xi: fix a couple of wrong dixLookupDevice permission tags.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xisetdevfocus.c')
-rw-r--r-- | Xi/xisetdevfocus.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |