[PATCH] mi: always update the sprite for master devices.
Peter Hutterer
peter.hutterer at who-t.net
Sun Dec 7 17:57:37 PST 2008
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 at who-t.net>
---
mi/mieq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mi/mieq.c b/mi/mieq.c
index 971edf9..aef6fae 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);
}
}
--
1.6.0.4
More information about the xorg
mailing list