diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-04 13:28:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 13:28:56 +0100 |
commit | 225a3b2545691148dbcb2acf94e4fada024e809d (patch) | |
tree | 9b04c29b25f40f2bb93122f179a430e179d5b66b /platform/linuxbsd/display_server_x11.cpp | |
parent | 2e320dcf8796d77b6196ef93d4ea304bf5bcb3d4 (diff) | |
parent | f4ea9cd9f301d3af3a707e330221a4f1e242e7be (diff) |
Merge pull request #57341 from bruvzg/win_multiwin_fs
Diffstat (limited to 'platform/linuxbsd/display_server_x11.cpp')
-rw-r--r-- | platform/linuxbsd/display_server_x11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linuxbsd/display_server_x11.cpp b/platform/linuxbsd/display_server_x11.cpp index 76a3eaf9f3..844b5616c4 100644 --- a/platform/linuxbsd/display_server_x11.cpp +++ b/platform/linuxbsd/display_server_x11.cpp @@ -1885,6 +1885,7 @@ void DisplayServerX11::window_set_mode(WindowMode p_mode, WindowID p_window) { XSendEvent(x11_display, DefaultRootWindow(x11_display), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev); } break; + case WINDOW_MODE_EXCLUSIVE_FULLSCREEN: case WINDOW_MODE_FULLSCREEN: { //Remove full-screen wd.fullscreen = false; @@ -1937,6 +1938,7 @@ void DisplayServerX11::window_set_mode(WindowMode p_mode, WindowID p_window) { XSendEvent(x11_display, DefaultRootWindow(x11_display), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev); } break; + case WINDOW_MODE_EXCLUSIVE_FULLSCREEN: case WINDOW_MODE_FULLSCREEN: { wd.last_position_before_fs = wd.position; |