[PATCH] Current tinderbox regression (xserver)
Chris Ball
cjb at laptop.org
Wed Sep 3 11:56:30 PDT 2008
http://tinderbox.x.org/builds/2008-09-03-0020/
http://tinderbox.x.org/builds/2008-09-03-0020/logs/xserver/#build
mieq.c: In function 'mieqProcessInputEvents':
mieq.c:320: error: 'handler' undeclared (first use in this function)
Below is an obvious (but untested) build fix.
diff --git a/mi/mieq.c b/mi/mieq.c
index 48628fc..ddfb0de 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -302,6 +302,7 @@ mieqProcessInputEvents(void)
int x = 0, y = 0;
xEvent* event,
*master_event = NULL;
+ mieqHandler handler;
while (miEventQueue.head != miEventQueue.tail) {
if (screenIsSaved == SCREEN_SAVER_ON)
@@ -336,7 +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
--
Chris Ball <cjb at laptop.org>
More information about the xorg
mailing list