diff options
Diffstat (limited to 'Xi/xisetclientpointer.c')
-rw-r--r-- | Xi/xisetclientpointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/xisetclientpointer.c b/Xi/xisetclientpointer.c index afc13d676..273618503 100644 --- a/Xi/xisetclientpointer.c +++ b/Xi/xisetclientpointer.c @@ -72,7 +72,7 @@ ProcXISetClientPointer(ClientPtr client) REQUEST_SIZE_MATCH(xXISetClientPointerReq); - rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixWriteAccess); + rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixManageAccess); if (rc != Success) { client->errorValue = stuff->deviceid; @@ -90,7 +90,7 @@ ProcXISetClientPointer(ClientPtr client) if (stuff->win != None) { rc = dixLookupClient(&targetClient, stuff->win, client, - DixWriteAccess); + DixManageAccess); if (rc != Success) return BadWindow; |