diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-26 17:41:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 17:41:28 +0200 |
commit | 3842e8c465b286247eb11263dde6353bf62bf2e2 (patch) | |
tree | ab82f081ae96fe60af4c24be42c28c223909a1e6 /servers | |
parent | 33d423e240fbfa0b28bfa40fd0be746e88e95a31 (diff) | |
parent | d670a49612f76d036dd6f3b23e895a9ca7c1a9ca (diff) |
Merge pull request #38727 from Riteo/tiling-wm-issues-tests
Fixes for windows in X11 tiling WMs
Diffstat (limited to 'servers')
-rw-r--r-- | servers/display_server.cpp | 4 | ||||
-rw-r--r-- | servers/display_server.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp index f46e56cd5a..97de280725 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -185,6 +185,10 @@ DisplayServer::WindowID DisplayServer::create_sub_window(WindowMode p_mode, uint ERR_FAIL_V_MSG(INVALID_WINDOW_ID, "Sub-windows not supported by this display server."); } +void DisplayServer::show_window(WindowID p_id) { + ERR_FAIL_MSG("Sub-windows not supported by this display server."); +} + void DisplayServer::delete_sub_window(WindowID p_id) { ERR_FAIL_MSG("Sub-windows not supported by this display server."); } diff --git a/servers/display_server.h b/servers/display_server.h index 2cf0a83dbd..bcfd1645d0 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -220,6 +220,7 @@ public: }; virtual WindowID create_sub_window(WindowMode p_mode, uint32_t p_flags, const Rect2i &p_rect = Rect2i()); + virtual void show_window(WindowID p_id); virtual void delete_sub_window(WindowID p_id); virtual WindowID get_window_at_screen_position(const Point2i &p_position) const = 0; |