From 6c292d17053eb2a7e7054e51210f423dbc0cb7e8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 14 Aug 2009 11:48:54 +1000 Subject: 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 Tested-by: Thomas Jaeger Signed-off-by: Peter Hutterer --- dix/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dix') 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; } -- cgit v1.2.3