minor formatting fixes
This commit is contained in:
parent
e26a494f41
commit
77e724585f
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2006 Nokia Corporation
|
* Copyright © 2006 Nokia Corporation
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, distribute, and sell this software and
|
* Permission to use, copy, modify, distribute, and sell this software and
|
||||||
* its documentation for any purpose is hereby granted without fee,
|
* its documentation for any purpose is hereby granted without fee,
|
||||||
* provided that the above copyright notice appear in all copies and that
|
* 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)
|
if (!events)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (type != KeyPress && type != KeyRelease)
|
if (type != KeyPress && type != KeyRelease)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -179,7 +179,6 @@ GetKeyboardValuatorEvents(xEvent *events, DeviceIntPtr pDev, int type,
|
||||||
events += numEvents;
|
events += numEvents;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ms = GetTimeInMillis();
|
ms = GetTimeInMillis();
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
|
||||||
ErrorF("mieqEnqueue: more than six valuator events; dropping.\n");
|
ErrorF("mieqEnqueue: more than six valuator events; dropping.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (oldtail == miEventQueue.head ||
|
if (oldtail == miEventQueue.head ||
|
||||||
!(lastkbp->type == DeviceMotionNotify ||
|
!(lastkbp->type == DeviceMotionNotify ||
|
||||||
lastkbp->type == DeviceButtonPress ||
|
lastkbp->type == DeviceButtonPress ||
|
||||||
lastkbp->type == DeviceButtonRelease) ||
|
lastkbp->type == DeviceButtonRelease) ||
|
||||||
|
|
Loading…
Reference in New Issue