From 08fd792c459d74ec3a4d45122110551cf5539cd8 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 18 Nov 2018 23:03:54 -0300 Subject: [PATCH] Fix X11 running a project with fullscreen setting on and resizable off with multiple screens (cherry picked from commit 385832ed302c51882951c7b36f21caf6b8125565) --- platform/x11/os_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 50ba0d9967c..0b5fea26a8c 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -316,7 +316,7 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a } // disable resizable window - if (!current_videomode.resizable) { + if (!current_videomode.resizable && !current_videomode.fullscreen) { XSizeHints *xsh; xsh = XAllocSizeHints(); xsh->flags = PMinSize | PMaxSize;