From 56bdd4b69aa10bec274b1e812685bcf44dcb0c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20Makovi=C4=8Dka?= Date: Tue, 12 Jan 2016 20:18:24 +0100 Subject: sdl: shorten the GUI refresh interval when mouse or keyboard is active MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/ui') diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h index b7ac38f..3f0b57b 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.1