From a764c4e9afbdb557dc05a5359b34382d53abe366 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Wed, 25 Mar 2020 01:47:55 -0700 Subject: [PATCH] ui: Don't minimize when focus is lost in fullscreen --- ui/xemu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/xemu.c b/ui/xemu.c index c56febc750..9ffc648e99 100644 --- a/ui/xemu.c +++ b/ui/xemu.c @@ -783,6 +783,7 @@ static void sdl2_display_very_early_init(DisplayOptions *o) SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); #endif SDL_SetHint(SDL_HINT_GRAB_KEYBOARD, "1"); + SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); // Initialize rendering context SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);