summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/x11/display_server_x11.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-08 20:34:15 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-29 09:43:39 +0200
commitf7955633de42d660a24efafdf32b3bd3b72f6251 (patch)
tree1d22eaa28ff0b06f781167cd8594a894b08199a5 /platform/linuxbsd/x11/display_server_x11.h
parenta75493091823020d858fabadbfa5994da0d658cb (diff)
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
Diffstat (limited to 'platform/linuxbsd/x11/display_server_x11.h')
-rw-r--r--platform/linuxbsd/x11/display_server_x11.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.h b/platform/linuxbsd/x11/display_server_x11.h
index 2578ca06fd..d8d914bffc 100644
--- a/platform/linuxbsd/x11/display_server_x11.h
+++ b/platform/linuxbsd/x11/display_server_x11.h
@@ -185,7 +185,7 @@ class DisplayServerX11 : public DisplayServer {
WindowID last_focused_window = INVALID_WINDOW_ID;
WindowID window_id_counter = MAIN_WINDOW_ID;
- WindowID _create_window(WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Rect2i &p_rect);
+ WindowID _create_window(WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Rect2i &p_rect, int p_screen);
String internal_clipboard;
String internal_clipboard_primary;
@@ -365,7 +365,7 @@ public:
virtual Vector<DisplayServer::WindowID> get_window_list() const override;
- virtual WindowID create_sub_window(WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Rect2i &p_rect = Rect2i()) override;
+ virtual WindowID create_sub_window(WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Rect2i &p_rect = Rect2i(), int p_screen = 0) override;
virtual void show_window(WindowID p_id) override;
virtual void delete_sub_window(WindowID p_id) override;