From 0a4515af82a760de226b0d37ca3023718c1fbb03 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 26 Feb 2017 18:58:29 +0100 Subject: [PATCH] Fix fullscreen on Linux --- src/blupi.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blupi.cxx b/src/blupi.cxx index c22f980..2f2e5e4 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -398,7 +398,7 @@ static bool DoInit (Sint32 argc, char *argv[]) // Create a window. if (g_bFullScreen) g_window = SDL_CreateWindow (NAME, 0, 0, LXIMAGE, LYIMAGE, - SDL_WINDOW_FULLSCREEN | SDL_WINDOW_INPUT_GRABBED); + SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_INPUT_GRABBED); else g_window = SDL_CreateWindow (NAME, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, LXIMAGE, LYIMAGE, 0);