summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-14 01:48:54 (GMT)
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-14 04:39:56 (GMT)
commit6c292d17053eb2a7e7054e51210f423dbc0cb7e8 (patch)
tree46c5fbf28e085888b0ad83bea9785fe88376cce7
parent49046088f10cceaea7da97401d742d3fb59371f5 (diff)
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>
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index ec6aff7..d554a7f 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -2841,7 +2841,7 @@ WindowsRestructured(void)
DeviceIntPtr pDev = inputInfo.devices;
while(pDev)
{
- if (DevHasCursor(pDev))
+ if (IsMaster(pDev) || !pDev->u.master)
CheckMotion(NULL, pDev);
pDev = pDev->next;
}