Properly check for fullscreen toggle made through the Window Manager

Fixes #40007.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
Wilson E. Alvarez
2022-06-29 21:55:40 -04:00
committed by Rémi Verschelde
parent 62994bec2a
commit aadf831a67
2 changed files with 49 additions and 0 deletions

View File

@ -265,6 +265,7 @@ class DisplayServerX11 : public DisplayServer {
void _update_real_mouse_position(const WindowData &wd);
bool _window_maximize_check(WindowID p_window, const char *p_atom_name) const;
bool _window_fullscreen_check(WindowID p_window) const;
void _update_size_hints(WindowID p_window);
void _set_wm_fullscreen(WindowID p_window, bool p_enabled);
void _set_wm_maximized(WindowID p_window, bool p_enabled);