From ce60cafa1907c4a53a95a3695c11cc4aba305552 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 29 May 2018 14:09:44 +1000 Subject: [PATCH] [client] removed invalid MS Windows specific hint See: https://wiki.libsdl.org/SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 > A hint that specifies that SDL should not to generate > SDL_WINDOWEVENT_CLOSE events for Alt+F4 on Microsoft Windows. --- client/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/main.c b/client/main.c index e1e46321..ebf1fe75 100644 --- a/client/main.c +++ b/client/main.c @@ -814,9 +814,6 @@ int run() ) ); - if (params.ignoreQuit) - SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1"); - if (params.fullscreen) SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");