diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-20 00:44:46 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-22 11:45:12 +0300 |
commit | 77e724585f6c53feb55475b94d8cfcb6acf1159b (patch) | |
tree | 9ac8b623026ba842ba86267eda276461822ab66e | |
parent | e26a494f417c3c700636ee68892c3015b2e0f27a (diff) |
minor formatting fixes
-rw-r--r-- | dix/getevents.c | 5 | ||||
-rw-r--r-- | mi/mieq.c | 2 |
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(); @@ -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) || |