diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-11-18 23:03:54 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-11-18 23:03:54 -0300 |
commit | 385832ed302c51882951c7b36f21caf6b8125565 (patch) | |
tree | 732eddf7c157b254ea065a176b9964397814f37f /platform/x11/os_x11.cpp | |
parent | 60cbb69c7c40efd72234ef10e77767347d8df6c4 (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.cpp | 2 |
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; |