minor formatting fixes

This commit is contained in:
Daniel Stone 2006-10-20 00:44:46 +03:00 committed by Daniel Stone
parent e26a494f41
commit 77e724585f
2 changed files with 3 additions and 4 deletions

View File

@ -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();

View File

@ -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) ||