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> Tested-by: Thomas Jaeger Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
49046088f1
commit
6c292d1705
|
@ -2841,7 +2841,7 @@ WindowsRestructured(void)
|
||||||
DeviceIntPtr pDev = inputInfo.devices;
|
DeviceIntPtr pDev = inputInfo.devices;
|
||||||
while(pDev)
|
while(pDev)
|
||||||
{
|
{
|
||||||
if (DevHasCursor(pDev))
|
if (IsMaster(pDev) || !pDev->u.master)
|
||||||
CheckMotion(NULL, pDev);
|
CheckMotion(NULL, pDev);
|
||||||
pDev = pDev->next;
|
pDev = pDev->next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user