Commit 9ce99537 authored by Peter Hutterer's avatar Peter Hutterer

mi: UpdateSprite only if the device is attached.

parent d507f606
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment