diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-14 11:48:54 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-08-25 20:12:02 -0700 |
commit | 32115e690f43fde619234722aa674ff1ae1b44ae (patch) | |
tree | a10e64489ec78835d663be44a1ef63c88a38f73a | |
parent | af7e62a913c3c5b9639b4557b31537853f3f58bb (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>
(cherry picked from commit 6c292d17053eb2a7e7054e51210f423dbc0cb7e8)
Tested-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | dix/events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c index 17868272a..f9448ba76 100644 --- a/dix/events.c +++ b/dix/events.c @@ -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; } } |