aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/setdval.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/setdval.c')
-rw-r--r--xorg-server/Xi/setdval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xi/setdval.c b/xorg-server/Xi/setdval.c
index b1e22fc21..20584629a 100644
--- a/xorg-server/Xi/setdval.c
+++ b/xorg-server/Xi/setdval.c
@@ -115,7 +115,7 @@ ProcXSetDeviceValuators(ClientPtr client)
if (stuff->first_valuator + stuff->num_valuators > dev->valuator->numAxes)
return BadValue;
- 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],