diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-03 17:15:24 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-03 17:15:24 +0300 |
commit | 8737269275c371c8d56fcb56d783f8df1aaa2b88 (patch) | |
tree | c66a60e6456718acfa2f1c308922797dcc38efab | |
parent | d5b579852ff5eda4486559232bd3aca49ca8625d (diff) |
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); } |