mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Xi: fix a couple of wrong dixLookupDevice permission tags.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user