Fix more poorly indented/wrapped comments & code

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Tested-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Alan Coopersmith
2012-07-09 19:12:42 -07:00
parent 789d64e19a
commit 6be74a9080
11 changed files with 44 additions and 30 deletions

View File

@@ -1266,7 +1266,7 @@ ProcessTouchOwnershipEvent(DeviceIntPtr dev, TouchPointInfoPtr ti,
else
ti->listeners[0].state = LISTENER_HAS_ACCEPTED;
}
else { /* this is the very first ownership event for a grab */
else { /* this is the very first ownership event for a grab */
DeliverTouchEvents(dev, ti, (InternalEvent *) ev, ev->resource);
}
}
@@ -2312,12 +2312,11 @@ SelectForWindow(DeviceIntPtr dev, WindowPtr pWin, ClientPtr client,
check = (mask & exclusivemasks);
if (wOtherInputMasks(pWin)) {
if (check & wOtherInputMasks(pWin)->inputEvents[mskidx]) { /* It is illegal for two different
* clients to select on any of the
* events for maskcheck. However,
* it is OK, for some client to
* continue selecting on one of those
* events. */
if (check & wOtherInputMasks(pWin)->inputEvents[mskidx]) {
/* It is illegal for two different clients to select on any of
* the events for maskcheck. However, it is OK, for some client
* to continue selecting on one of those events.
*/
for (others = wOtherInputMasks(pWin)->inputClients; others;
others = others->next) {
if (!SameClient(others, client) && (check &