summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-24 15:28:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-24 15:29:24 +1000
commit932d6bcbb68194c5bdfeb336f700dc8b31529223 (patch)
treef8a518f13bb17e7814fa46929e3ced70c24a6e32 /mi
parentfab563bf8f6b63906ce9d5a568c467425843265b (diff)
mi: remove superfluous check.
mieqProcessInputEvents doesn't process events from MDs anymore, so we don't need to check for pDev->isMaster. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 084660263..3daf91ec5 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -427,7 +427,7 @@ mieqProcessInputEvents(void)
mieqProcessDeviceEvent(dev, event, screen);
/* Update the sprite now. Next event may be from different device. */
- if (event->u.any.type == ET_Motion && (master || dev->isMaster))
+ if (event->u.any.type == ET_Motion && master)
miPointerUpdateSprite(dev);
#ifdef XQUARTZ