diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-07 16:56:57 +0000 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2011-03-16 19:52:21 +0000 |
commit | 430bc2de356f32ad66860e863e64ee896fa8fe53 (patch) | |
tree | 7f3afa93eb59d9fd1b3884869105ebffea6e3d6a /src/intel_uxa.c | |
parent | 64cc9913bcafaefcce45b9e1acaff783f6b1ba17 (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>
(cherry picked from commit 4a186a612376bdd6f86c026e8b8b442108868a0a)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/intel_uxa.c')
-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 336ab46f..480c4efb 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -923,7 +923,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 |