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:
@@ -630,7 +630,7 @@ ProcShmGetImage(ClientPtr client)
|
||||
return rc;
|
||||
VERIFY_SHMPTR(stuff->shmseg, stuff->offset, TRUE, shmdesc, client);
|
||||
if (pDraw->type == DRAWABLE_WINDOW) {
|
||||
if ( /* check for being viewable */
|
||||
if ( /* check for being viewable */
|
||||
!((WindowPtr) pDraw)->realized ||
|
||||
/* check for being on screen */
|
||||
pDraw->x + stuff->x < 0 ||
|
||||
|
||||
11
Xext/sync.c
11
Xext/sync.c
@@ -444,7 +444,8 @@ SyncSendAlarmNotifyEvents(SyncAlarm * pAlarm)
|
||||
ane.counter_value_hi = XSyncValueHigh32(pCounter->value);
|
||||
ane.counter_value_lo = XSyncValueLow32(pCounter->value);
|
||||
}
|
||||
else { /* XXX what else can we do if there's no counter? */
|
||||
else {
|
||||
/* XXX what else can we do if there's no counter? */
|
||||
ane.counter_value_hi = ane.counter_value_lo = 0;
|
||||
}
|
||||
|
||||
@@ -1779,10 +1780,10 @@ ProcSyncQueryAlarm(ClientPtr client)
|
||||
pTrigger = &pAlarm->trigger;
|
||||
rep.counter = (pTrigger->pSync) ? pTrigger->pSync->id : None;
|
||||
|
||||
#if 0 /* XXX unclear what to do, depends on whether relative value-types
|
||||
* are "consumed" immediately and are considered absolute from then
|
||||
* on.
|
||||
*/
|
||||
#if 0 /* XXX unclear what to do, depends on whether relative value-types
|
||||
* are "consumed" immediately and are considered absolute from then
|
||||
* on.
|
||||
*/
|
||||
rep.value_type = pTrigger->value_type;
|
||||
rep.wait_value_hi = XSyncValueHigh32(pTrigger->wait_value);
|
||||
rep.wait_value_lo = XSyncValueLow32(pTrigger->wait_value);
|
||||
|
||||
Reference in New Issue
Block a user