From d3942a43303a53f046803a93136699f203867dcc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 14 Aug 2009 11:48:54 +1000 Subject: [PATCH] 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 --- dix/events.c | 2 +- 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; } -- 1.6.3.rc1.2.g0164.dirty