mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-08 23:12:27 +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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue