From 4ccd99fa045d188314dfe39159960a44bd46e6b7 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Wed, 20 Sep 2017 06:46:35 +0200 Subject: [PATCH] Set the window size only if fullscreen is off --- src/blupi.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blupi.cxx b/src/blupi.cxx index 54b6c9d..aa1069c 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -924,7 +924,8 @@ DoInit (int argc, char * argv[], bool & exit) g_pEvent->Create (g_pPixmap, g_pDecor, g_pSound, g_pMovie); g_updateThread = new std::thread (CheckForUpdates); g_pEvent->SetFullScreen (g_bFullScreen); - g_pEvent->SetWindowSize (g_windowScale); + if (!g_bFullScreen) + g_pEvent->SetWindowSize (g_windowScale); g_pEvent->ChangePhase (EV_PHASE_INTRO1); g_bTermInit = true;