mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 18:08:08 +02:00
mi: always update the sprite for master devices.
Follow-up to 9ce995373e. 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>
This commit is contained in:
parent
7c8720c143
commit
090f631239
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue