minor formatting fixes
This commit is contained in:
committed by
Daniel Stone
parent
e26a494f41
commit
77e724585f
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user