From 520ff2733fda7217f1f83fcc701b3c0ab3d5f461 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Jan 2009 16:32:24 +1000 Subject: [PATCH] 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). --- Xi/exevents.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Xi/exevents.c b/Xi/exevents.c index 6a1f1bb..5ab9d66 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) { -- 1.6.0.6