From 55fae24710eaaca482cb2adfcf3b81546e71414c Mon Sep 17 00:00:00 2001 From: santouits Date: Tue, 24 Oct 2017 22:35:28 +0300 Subject: Fix x11 boot logo position in fullscreen and in maximized --- main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 main/main.cpp (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp old mode 100644 new mode 100755 index deffb3a632..c98bc6e5f6 --- a/main/main.cpp +++ b/main/main.cpp @@ -395,6 +395,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph } else if (I->get() == "-m" || I->get() == "--maximized") { // force maximized window init_maximized = true; + video_mode.maximized = true; } else if (I->get() == "-w" || I->get() == "--windowed") { // force windowed window init_windowed = true; @@ -716,6 +717,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph Engine::get_singleton()->set_editor_hint(true); main_args.push_back("--editor"); init_maximized = true; + video_mode.maximized = true; use_custom_res = false; } -- cgit v1.2.3