summaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-11-18 23:03:54 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-11-18 23:03:54 -0300
commit385832ed302c51882951c7b36f21caf6b8125565 (patch)
tree732eddf7c157b254ea065a176b9964397814f37f /platform/x11/os_x11.cpp
parent60cbb69c7c40efd72234ef10e77767347d8df6c4 (diff)
Fix X11 running a project with fullscreen setting on and resizable off with multiple screens
Diffstat (limited to 'platform/x11/os_x11.cpp')
-rw-r--r--platform/x11/os_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 2ab7b835b6..04854e93b6 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -369,7 +369,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;