diff options
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/shm.c | 2 | ||||
-rw-r--r-- | Xext/sync.c | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/Xext/shm.c b/Xext/shm.c index 1cdb4017d..aa3feaeda 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -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 || diff --git a/Xext/sync.c b/Xext/sync.c index 532bbf942..6dc4c5e76 100644 --- a/Xext/sync.c +++ b/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); |