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>
This commit is contained in:
Jindřich Makovička 2016-01-12 20:18:24 +01:00 committed by Gerd Hoffmann
parent 919e11f373
commit 56bdd4b69a
3 changed files with 46 additions and 0 deletions

View file

@ -19,6 +19,7 @@ struct sdl2_console {
int hidden;
int opengl;
int updates;
int idle_counter;
SDL_GLContext winctx;
#ifdef CONFIG_OPENGL
ConsoleGLState *gls;