From bbc849df8d66b99162684dcee213b08cd67b86d0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 25 Nov 2015 19:25:46 +0900 Subject: [PATCH] user32: Reduce the idle timeout before flushing surfaces to make it less noticeable. Signed-off-by: Alexandre Julliard --- dlls/user32/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 87bc97be784..b81c22dfd36 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -598,7 +598,7 @@ void flush_window_surfaces( BOOL idle ) now = GetTickCount(); if (idle) last_idle = now; /* if not idle, we only flush if there's evidence that the app never goes idle */ - else if ((int)(now - last_idle) < 1000) goto done; + else if ((int)(now - last_idle) < 50) goto done; LIST_FOR_EACH_ENTRY( surface, &window_surfaces, struct window_surface, entry ) surface->funcs->flush( surface );