mi: UpdateSprite only if the device is attached.
This commit is contained in:
parent
d507f60689
commit
9ce995373e
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user