summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-12-01 21:32:39 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-12-02 15:50:38 +1000
commit9ce995373e4aa4b1bf51b4adafa2324f781ec1cd (patch)
tree76f9dbd75e761e4933f34d2d8998b0e6e0db8f33 /mi/mieq.c
parentd507f60689f4e14383b0d24e63afc8cf836360d5 (diff)
mi: UpdateSprite only if the device is attached.
Diffstat (limited to 'mi/mieq.c')
-rw-r--r--mi/mieq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 8a4f5fc15..41b632a2b 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -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);
}
}