From f442e08b418785e13b1161edfa9e0c72cc324c41 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Thu, 13 Mar 2008 19:20:33 +0000 Subject: Slowdown SDL while minimized When SDL is invisible/minimized, there is no need to keep calling the VGA refresh 33 times per second. This patch reduces in that case the rate to 2 times per second, which should be responsive enough for the un-minimizing event. (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4050 c046a42c-6fe2-441c-8c8c-71466251a162 --- console.h | 1 + 1 file changed, 1 insertion(+) (limited to 'console.h') diff --git a/console.h b/console.h index b8a5c6d22..1e69ffd0b 100644 --- a/console.h +++ b/console.h @@ -71,6 +71,7 @@ struct DisplayState { int height; void *opaque; struct QEMUTimer *gui_timer; + uint64_t gui_timer_interval; void (*dpy_update)(struct DisplayState *s, int x, int y, int w, int h); void (*dpy_resize)(struct DisplayState *s, int w, int h); -- cgit v1.2.3-65-gdbad