diff options
author | Jindřich Makovička <makovick@gmail.com> | 2016-01-12 20:18:24 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-02-02 14:05:07 +0100 |
commit | 56bdd4b69aa10bec274b1e812685bcf44dcb0c72 (patch) | |
tree | fe0f5c5d53d3e1c126a9f830bf68a60396614e8c /include/ui | |
parent | 919e11f3735c524e23d049512d3306ea1cc63fba (diff) |
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; |