diff options
author | Jindřich Makovička | 2016-01-12 20:18:24 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2016-02-02 14:05:07 +0100 |
commit | 56bdd4b69aa10bec274b1e812685bcf44dcb0c72 (patch) | |
tree | fe0f5c5d53d3e1c126a9f830bf68a60396614e8c /include/ui | |
parent | gtk: use qemu_chr_alloc() to allocate CharDriverState (diff) | |
download | qemu-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.h | 1 |
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; |