diff options
Diffstat (limited to 'Xi/grabdev.c')
-rw-r--r-- | Xi/grabdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/grabdev.c b/Xi/grabdev.c index adcd7e79f..e1d430a1f 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -184,7 +184,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count, if (device > 255) /* FIXME: we only use 7 bit for devices? */ return BadClass; - rc = dixLookupDevice(&tdev, device, client, DixReadAccess); + rc = dixLookupDevice(&tdev, device, client, DixUseAccess); if (rc != BadDevice && rc != Success) return rc; if (rc == BadDevice || (dev != NULL && tdev != dev)) |