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:
Peter Hutterer 2008-12-08 11:53:20 +10:00
parent 7c8720c143
commit 090f631239

View File

@ -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);
}
}