diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-07 16:56:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-07 16:56:57 +0000 |
commit | 4a186a612376bdd6f86c026e8b8b442108868a0a (patch) | |
tree | 1184e9167b44ecb5cfcce23491bc5a988bf58a35 | |
parent | 1ba983034b3a70fb541dc359189c020ee497c634 (diff) |
Always flush the batch before blocking for new X requests
This should prevent any lag when waiting upon user input, for example
whilst logging in with gdm.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/intel_uxa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c index 3b3a2079..a2a58fbd 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -942,7 +942,8 @@ void intel_uxa_block_handler(intel_screen_private *intel) intel_batch_submit(intel->scrn, TRUE); DamageEmpty(intel->shadow_damage); - } + } else + intel_batch_submit(intel->scrn, TRUE); } static PixmapPtr |