diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 14:29:37 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 14:29:37 +0100 |
commit | 39ad411369f554d44ec4bf4723995374e0bde156 (patch) | |
tree | a3152e041b7d0dd9afaf51ebc3dd8cb6e59d43c6 /platform/linuxbsd/x11/display_server_x11.h | |
parent | 829d49b0110edc7bf283c7cca30cddb967bccb70 (diff) | |
parent | ad0f6ff85bde85b280ee73ecd570aafd769a0972 (diff) |
Merge pull request #69707 from bruvzg/x11_exfs
[Linux/X11] Split fullscreen mode into `WINDOW_MODE_EXCLUSIVE_FULLSCREEN` and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
Diffstat (limited to 'platform/linuxbsd/x11/display_server_x11.h')
-rw-r--r-- | platform/linuxbsd/x11/display_server_x11.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.h b/platform/linuxbsd/x11/display_server_x11.h index c88a6b466a..1e510d4564 100644 --- a/platform/linuxbsd/x11/display_server_x11.h +++ b/platform/linuxbsd/x11/display_server_x11.h @@ -159,6 +159,7 @@ class DisplayServerX11 : public DisplayServer { //better to guess on the fly, given WM can change it //WindowMode mode; bool fullscreen = false; //OS can't exit from this mode + bool exclusive_fullscreen = false; bool on_top = false; bool borderless = false; bool resize_disabled = false; @@ -283,7 +284,7 @@ class DisplayServerX11 : public DisplayServer { bool _window_minimize_check(WindowID p_window) const; void _validate_mode_on_map(WindowID p_window); void _update_size_hints(WindowID p_window); - void _set_wm_fullscreen(WindowID p_window, bool p_enabled); + void _set_wm_fullscreen(WindowID p_window, bool p_enabled, bool p_exclusive); void _set_wm_maximized(WindowID p_window, bool p_enabled); void _set_wm_minimized(WindowID p_window, bool p_enabled); |