From 56bdd4b69aa10bec274b1e812685bcf44dcb0c72 Mon Sep 17 00:00:00 2001 From: Jindřich Makovička Date: Tue, 12 Jan 2016 20:18:24 +0100 Subject: sdl: shorten the GUI refresh interval when mouse or keyboard is active Signed-off-by: Jindřich Makovička Signed-off-by: Gerd Hoffmann --- include/ui/sdl2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3-55-g7522