Fix restoring window from fullscreen to normal on Linux
This commit is contained in:
parent
d5b579852f
commit
8737269275
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue