summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-20 00:44:46 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-22 11:45:12 +0300
commit77e724585f6c53feb55475b94d8cfcb6acf1159b (patch)
tree9ac8b623026ba842ba86267eda276461822ab66e
parente26a494f417c3c700636ee68892c3015b2e0f27a (diff)
minor formatting fixes
-rw-r--r--dix/getevents.c5
-rw-r--r--mi/mieq.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index 42b9df9d2..c6a35ba21 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -1,6 +1,6 @@
/*
* Copyright © 2006 Nokia Corporation
- *
+ *
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and that
@@ -121,7 +121,7 @@ GetKeyboardValuatorEvents(xEvent *events, DeviceIntPtr pDev, int type,
if (!events)
return 0;
-
+
if (type != KeyPress && type != KeyRelease)
return 0;
@@ -179,7 +179,6 @@ GetKeyboardValuatorEvents(xEvent *events, DeviceIntPtr pDev, int type,
events += numEvents;
}
}
-
ms = GetTimeInMillis();
diff --git a/mi/mieq.c b/mi/mieq.c
index 0ac68d6e8..63cd6e1cd 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -113,7 +113,7 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
ErrorF("mieqEnqueue: more than six valuator events; dropping.\n");
return;
}
- if (oldtail == miEventQueue.head ||
+ if (oldtail == miEventQueue.head ||
!(lastkbp->type == DeviceMotionNotify ||
lastkbp->type == DeviceButtonPress ||
lastkbp->type == DeviceButtonRelease) ||