From 56431ca9ab11164e20596e2ec340416cd231a77c Mon Sep 17 00:00:00 2001 From: ASL97 Date: Thu, 23 Feb 2017 05:44:32 +0800 Subject: [PATCH] Don't minimize PPSSPP when losing focus while fullscreen --- ext/native/base/PCMain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/native/base/PCMain.cpp b/ext/native/base/PCMain.cpp index 9db059e2dc..9e54c8287e 100644 --- a/ext/native/base/PCMain.cpp +++ b/ext/native/base/PCMain.cpp @@ -420,6 +420,7 @@ int main(int argc, char *argv[]) { bcm_host_init(); #endif putenv((char*)"SDL_VIDEO_CENTERED=1"); + SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); std::string app_name; std::string app_name_nice;