From 4a186a612376bdd6f86c026e8b8b442108868a0a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 7 Dec 2010 16:56:57 +0000 Subject: 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 --- src/intel_uxa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3