summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-09-30 17:05:46 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-09-30 17:05:46 +0300
commit2cf1098436d6b4382d9ed3f6b88214d37bdd8ddb (patch)
tree8155e26c67dbfe5443d53fce28cb4b79f25d40ee /mi
parent518db35ca3f569e7cb95dbddeddb93f3691de498 (diff)
dix/events, mi/eq: remove utterly ridiculous debugging
Remove debugging which can cause long-lived Xorg logs to grow well above 1GB if built with --enable-debug.
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index aec237105..63b900c85 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -103,11 +103,6 @@ mieqEnqueue (xEvent *e)
deviceKeyButtonPointer *lastkbp = (deviceKeyButtonPointer *)
&laste->event[0];
-#ifdef DEBUG
- ErrorF("mieqEnqueue: slamming an event on to the queue from %d\n", kbp->deviceid & DEVICE_BITS);
- ErrorF(" type %d, detail %d\n", e->u.u.type, e->u.u.detail);
-#endif
-
if (e->u.u.type == MotionNotify) {
miPointerAbsoluteCursor(e->u.keyButtonPointer.rootX,
e->u.keyButtonPointer.rootY,
@@ -178,15 +173,9 @@ mieqEnqueue (xEvent *e)
*/
if (e->u.keyButtonPointer.time < miEventQueue.lastEventTime &&
miEventQueue.lastEventTime - e->u.keyButtonPointer.time < 10000)
- {
-#ifdef DEBUG
- ErrorF("mieq: rewinding event time from %d to %d\n",
- miEventQueue.lastEventTime,
- miEventQueue.events[oldtail].event[0].u.keyButtonPointer.time);
-#endif
miEventQueue.events[oldtail].event[0].u.keyButtonPointer.time =
miEventQueue.lastEventTime;
- }
+
miEventQueue.lastEventTime =
miEventQueue.events[oldtail].event[0].u.keyButtonPointer.time;
miEventQueue.events[oldtail].pScreen = miEventQueue.pEnqueueScreen;