diff options
author | Adam Jackson <ajax@redhat.com> | 2008-01-31 21:39:48 +1100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-02-14 07:07:51 +1100 |
commit | 2ce35f6d45c3e1761d33b786520ff5ba56a3c518 (patch) | |
tree | b105ea7de92c2536fccb5f14b5ef472e2c9736fa /dix/dispatch.c | |
parent | 3eaecdd66e791e0f3d86b23ce10be057ca44c044 (diff) |
Simplify critical output flushing.
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r-- | dix/dispatch.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index 3589fba1c..32efff782 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -424,10 +424,9 @@ Dispatch(void) while (!isItTimeToYield) { if (*icheck[0] != *icheck[1]) - { ProcessInputEvents(); - FlushIfCriticalOutputPending(); - } + + FlushIfCriticalOutputPending(); #ifdef SMART_SCHEDULE if (!SmartScheduleDisable && (SmartScheduleTime - start_tick) >= SmartScheduleSlice) @@ -483,9 +482,6 @@ Dispatch(void) client->errorValue, result); break; } -#ifdef DAMAGEEXT - FlushIfCriticalOutputPending (); -#endif } FlushAllOutput(); #ifdef SMART_SCHEDULE |