mieq: Fix my broken cherry pick.

This commit is contained in:
Jeremy Huddleston 2008-09-03 12:54:56 -07:00
parent 1669308be6
commit 47bf269d59

View File

@ -298,6 +298,7 @@ CopyGetMasterEvent(DeviceIntPtr mdev, xEvent* original,
void void
mieqProcessInputEvents(void) mieqProcessInputEvents(void)
{ {
mieqHandler handler;
EventRec *e = NULL; EventRec *e = NULL;
int x = 0, y = 0; int x = 0, y = 0;
xEvent* event, xEvent* event,
@ -336,8 +337,6 @@ mieqProcessInputEvents(void)
NewCurrentScreen (e->pDev, DequeueScreen(e->pDev), x, y); NewCurrentScreen (e->pDev, DequeueScreen(e->pDev), x, y);
} }
else { else {
mieqHandler handler;
/* FIXME: Bad hack. The only event where we actually get multiple /* FIXME: Bad hack. The only event where we actually get multiple
* events at once is a DeviceMotionNotify followed by * events at once is a DeviceMotionNotify followed by
* DeviceValuators. For now it's safe enough to just take the * DeviceValuators. For now it's safe enough to just take the