dix: update the sprite trace for all masters && floating slaves (#23257)
When the windows are restructured, CheckMotion needs to be called for all
masters and floating slaves to update the spriteTrace.
X.Org Bug 23257 <http://bugs.freedesktop.org/show_bug.cgi?id=23257>
(cherry picked from commit 6c292d1705
)
Tested-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
af7e62a913
commit
32115e690f
|
@ -2661,8 +2661,8 @@ WindowsRestructured(void)
|
|||
DeviceIntPtr pDev = inputInfo.devices;
|
||||
while(pDev)
|
||||
{
|
||||
if (DevHasCursor(pDev))
|
||||
CheckMotion((xEvent *)NULL, pDev);
|
||||
if (pDev->isMaster || !pDev->u.master)
|
||||
CheckMotion(NULL, pDev);
|
||||
pDev = pDev->next;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user