diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-13 19:20:33 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-13 19:20:33 +0000 |
commit | f442e08b418785e13b1161edfa9e0c72cc324c41 (patch) | |
tree | 1d70820bd63eaeb9c97adb62dbfb65a100ef5438 /console.h | |
parent | SDL mouse events smoothness (diff) | |
download | qemu-kvm-f442e08b418785e13b1161edfa9e0c72cc324c41.tar.gz qemu-kvm-f442e08b418785e13b1161edfa9e0c72cc324c41.tar.bz2 qemu-kvm-f442e08b418785e13b1161edfa9e0c72cc324c41.zip |
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
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |