Alexandre Julliard : user32: Reduce the idle timeout before flushing surfaces to make it less noticeable.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 25 10:11:19 CST 2015
Module: wine
Branch: master
Commit: bbc849df8d66b99162684dcee213b08cd67b86d0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbc849df8d66b99162684dcee213b08cd67b86d0
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Nov 25 19:25:46 2015 +0900
user32: Reduce the idle timeout before flushing surfaces to make it less noticeable.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 87bc97b..b81c22d 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 );
More information about the wine-cvs
mailing list