Xi: fix a couple of wrong dixLookupDevice permission tags.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-05-06 15:05:06 +10:00
parent 0d947aa8e8
commit c3c64978c4
3 changed files with 3 additions and 3 deletions

View File

@@ -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)