summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-01-08 16:32:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-09 16:09:20 +1000
commit9bf77569cc8f9b0cc25c99487672d375d7c32f99 (patch)
tree6c6f81b64bef9ce03ae1dc063401703988d8efb4
parent83eb863e3cfcd62549b836f3195107d8908b36d0 (diff)
Xi: call CheckMotion for floating SDs too.
CheckMotion updates the sprite position so we need to call it for all devices that have a sprite - including floating SDs (which have an invisible sprite).
-rw-r--r--Xi/exevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 6a1f1bb15..5ab9d660f 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -1040,7 +1040,7 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count)
b = device->button;
k = device->key;
- if (device->isMaster)
+ if (device->isMaster || !device->u.master)
CheckMotion(xE, device);
if (xE->u.u.type != DeviceValuator && xE->u.u.type != GenericEvent) {