summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJindřich Makovička2016-01-12 20:18:24 +0100
committerGerd Hoffmann2016-02-02 14:05:07 +0100
commit56bdd4b69aa10bec274b1e812685bcf44dcb0c72 (patch)
treefe0f5c5d53d3e1c126a9f830bf68a60396614e8c /include/ui
parentgtk: use qemu_chr_alloc() to allocate CharDriverState (diff)
downloadqemu-56bdd4b69aa10bec274b1e812685bcf44dcb0c72.tar.gz
qemu-56bdd4b69aa10bec274b1e812685bcf44dcb0c72.tar.xz
qemu-56bdd4b69aa10bec274b1e812685bcf44dcb0c72.zip
sdl: shorten the GUI refresh interval when mouse or keyboard is active
Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/sdl2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index b7ac38f198..3f0b57bb16 100644
--- a/include/ui/sdl2.h
+++ b/include/ui/sdl2.h
@@ -19,6 +19,7 @@ struct sdl2_console {
int hidden;
int opengl;
int updates;
+ int idle_counter;
SDL_GLContext winctx;
#ifdef CONFIG_OPENGL
ConsoleGLState *gls;