mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
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:
parent
789d64e19a
commit
6be74a9080
11 changed files with 44 additions and 30 deletions
|
|
@ -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 &
|
||||
|
|
|
|||
|
|
@ -438,8 +438,9 @@ SProcIDispatch(ClientPtr client)
|
|||
|
||||
static void
|
||||
SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
|
||||
/* All we look at is the type field */
|
||||
{ /* This is common to all replies */
|
||||
{
|
||||
/* All we look at is the type field */
|
||||
/* This is common to all replies */
|
||||
if (rep->RepType == X_GetExtensionVersion)
|
||||
SRepXGetExtensionVersion(client, len,
|
||||
(xGetExtensionVersionReply *) rep);
|
||||
|
|
|
|||
Loading…
Reference in a new issue