summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-03 12:54:56 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-03 12:54:56 -0700
commit47bf269d5922a4998c33908a53ad1affa8de96c0 (patch)
tree50e71848dd105f8260f69dd0985d4d2f1fa1fa2c /mi
parent1669308be6d4cc6265e5fa8ef47fbf2cbef6f093 (diff)
mieq: Fix my broken cherry pick.
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 48628fc89..e1785a224 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -298,6 +298,7 @@ CopyGetMasterEvent(DeviceIntPtr mdev, xEvent* original,
void
mieqProcessInputEvents(void)
{
+ mieqHandler handler;
EventRec *e = NULL;
int x = 0, y = 0;
xEvent* event,
@@ -336,8 +337,6 @@ mieqProcessInputEvents(void)
NewCurrentScreen (e->pDev, DequeueScreen(e->pDev), x, y);
}
else {
- mieqHandler handler;
-
/* FIXME: Bad hack. The only event where we actually get multiple
* events at once is a DeviceMotionNotify followed by
* DeviceValuators. For now it's safe enough to just take the