diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-12-01 21:32:39 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-12-02 15:50:38 +1000 |
commit | 9ce995373e4aa4b1bf51b4adafa2324f781ec1cd (patch) | |
tree | 76f9dbd75e761e4933f34d2d8998b0e6e0db8f33 /mi/mieq.c | |
parent | d507f60689f4e14383b0d24e63afc8cf836360d5 (diff) |
mi: UpdateSprite only if the device is attached.
Diffstat (limited to 'mi/mieq.c')
-rw-r--r-- | mi/mieq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |