From b116a98d4e7ea64179662c6094b1e225336ea491 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 31 May 2018 22:46:43 +0200 Subject: [PATCH] Revert "Do not change the bordered style on Windows" It's not a problem... This reverts commit 2d80222257f5745fd86d61e1800cdc08e1b7d8b8. --- src/event.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/event.cxx b/src/event.cxx index 28f7719..5201f93 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -1691,9 +1691,7 @@ CEvent::SetFullScreen (bool bFullScreen) } SDL_SetWindowFullscreen (g_window, bFullScreen ? SDL_WINDOW_FULLSCREEN : 0); -#ifndef _WIN32 SDL_SetWindowBordered (g_window, bFullScreen ? SDL_FALSE : SDL_TRUE); -#endif /* _WIN32 */ SDL_SetWindowGrab (g_window, bFullScreen ? SDL_TRUE : SDL_FALSE); if (!g_bFullScreen)