summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-08 11:53:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-10 11:06:59 +1000
commit090f63123975220819d531f569df6e5787607ec6 (patch)
tree2160e8e9d083d77eb88eee9431411caf3f9a2593
parent7c8720c1433d2c3b85bbf4b811cc54c2df4c0080 (diff)
mi: always update the sprite for master devices.
Follow-up to 9ce995373e4a. This re-enables cursor rendering if the MD is controlled through software (e.g. synergy). Reported by John Tapsell: "I use Xorg with no mouse attached, but use synergy to control the mouse. The commit means that I no longer have a visible mouse cursor. The mouse cursor is still 'there' in terms that I can click buttons etc with it, but it's just not visible." Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--mi/mieq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 971edf9b7..aef6fae89 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -386,7 +386,7 @@ mieqProcessInputEvents(void)
}
/* Update the sprite now. Next event may be from different device. */
- if (type == DeviceMotionNotify && master)
+ if (type == DeviceMotionNotify && (master || dev->isMaster))
miPointerUpdateSprite(dev);
}
}