diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-14 11:48:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-14 14:39:56 +1000 |
commit | 6c292d17053eb2a7e7054e51210f423dbc0cb7e8 (patch) | |
tree | 46c5fbf28e085888b0ad83bea9785fe88376cce7 /dix/events.c | |
parent | 49046088f10cceaea7da97401d742d3fb59371f5 (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>
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index ec6aff7d6..d554a7fef 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; } |