diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-03 17:32:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 17:32:36 +0300 |
commit | e5cb4f03c554a48c6d0b400ad53d4fad933d4dc7 (patch) | |
tree | 0e1871b0ce59d47341347aae62cf11f191b067b1 | |
parent | db3924b6bb4968eb5a1a547c7a20c25f8ae23759 (diff) | |
parent | 8737269275c371c8d56fcb56d783f8df1aaa2b88 (diff) |
Merge pull request #35882 from Chaosus/fix_x11_window_restoring
Fix restoring window from fullscreen to normal on Linux
-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 57c7b0594c..8195006121 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1429,7 +1429,7 @@ void OS_X11::set_window_fullscreen(bool p_enabled) { set_window_maximized(true); } set_wm_fullscreen(p_enabled); - if (!p_enabled && !current_videomode.always_on_top) { + if (!p_enabled && current_videomode.always_on_top) { // Restore set_window_maximized(false); } |