summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/display_server_x11.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-29 13:57:53 +0200
committerGitHub <noreply@github.com>2020-06-29 13:57:53 +0200
commit5bf7c769f0ec164bfa9c970c174711c1f02816bd (patch)
tree9b845dff0902ad672ab1c10e23b64e64fdffd1f1 /platform/linuxbsd/display_server_x11.h
parent9fc65fd1f15b2ae2e26cf69c54819e7d6598fa05 (diff)
parent524f061c015b8070de73381bf6b7932514de79de (diff)
downloadredot-engine-5bf7c769f0ec164bfa9c970c174711c1f02816bd.tar.gz
Merge pull request #39945 from akien-mga/x11-XGetWindowProperty-memleak
X11: Ensure XGetWindowProperty data gets freed
Diffstat (limited to 'platform/linuxbsd/display_server_x11.h')
-rw-r--r--platform/linuxbsd/display_server_x11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/display_server_x11.h b/platform/linuxbsd/display_server_x11.h
index f01b9a2323..3b2ff0e08d 100644
--- a/platform/linuxbsd/display_server_x11.h
+++ b/platform/linuxbsd/display_server_x11.h
@@ -36,7 +36,6 @@
#include "servers/display_server.h"
#include "core/input/input.h"
-
#include "drivers/alsa/audio_driver_alsa.h"
#include "drivers/alsamidi/midi_driver_alsamidi.h"
#include "drivers/pulseaudio/audio_driver_pulseaudio.h"
@@ -231,6 +230,7 @@ class DisplayServerX11 : public DisplayServer {
static Property _read_property(Display *p_display, Window p_window, Atom p_property);
void _update_real_mouse_position(const WindowData &wd);
+ bool _window_maximize_check(WindowID p_window, const char *p_atom_name) const;
void _set_wm_fullscreen(WindowID p_window, bool p_enabled);
void _set_wm_maximized(WindowID p_window, bool p_enabled);