mi: UpdateSprite only if the device is attached.
This commit is contained in:
@@ -386,7 +386,7 @@ mieqProcessInputEvents(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Update the sprite now. Next event may be from different device. */
|
/* Update the sprite now. Next event may be from different device. */
|
||||||
if (type == DeviceMotionNotify && dev->coreEvents)
|
if (type == DeviceMotionNotify && master)
|
||||||
miPointerUpdateSprite(dev);
|
miPointerUpdateSprite(dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user