diff options
Diffstat (limited to 'Xi/setdval.c')
-rw-r--r-- | Xi/setdval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/setdval.c b/Xi/setdval.c index 958b2ac21..ce9b02d2f 100644 --- a/Xi/setdval.c +++ b/Xi/setdval.c @@ -125,7 +125,7 @@ ProcXSetDeviceValuators(register ClientPtr client) return Success; } - if ((dev->grab) && !SameClient(dev->grab, client)) + if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client)) rep.status = AlreadyGrabbed; else rep.status = SetDeviceValuators(client, dev, (int *)&stuff[1], |