mi: UpdateSprite only if the device is attached.

This commit is contained in:
Peter Hutterer 2008-12-01 21:32:39 +10:00
parent d507f60689
commit 9ce995373e

View File

@ -386,7 +386,7 @@ mieqProcessInputEvents(void)
}
/* Update the sprite now. Next event may be from different device. */
if (type == DeviceMotionNotify && dev->coreEvents)
if (type == DeviceMotionNotify && master)
miPointerUpdateSprite(dev);
}
}