diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-19 10:03:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 10:03:17 +0100 |
commit | 74b110a736c35d7183898b01b2f03db3bb98a5a5 (patch) | |
tree | 9eceebd6d0119b867a71076eb0a0a5407ad58e8b /servers | |
parent | 827c8e22b76307687fc34ad8826e438ed53b21ae (diff) | |
parent | d62ca0c9c02fa202ca294e75c2bb12dfe774cc75 (diff) |
Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindow
Diffstat (limited to 'servers')
-rw-r--r-- | servers/display_server.cpp | 5 | ||||
-rw-r--r-- | servers/display_server.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp index e9f15ab535..eb12b5ffc0 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -139,10 +139,6 @@ void DisplayServer::mouse_warp_to_position(const Point2i &p_to) { WARN_PRINT("Mouse warping is not supported by this display server."); } -Point2i DisplayServer::mouse_get_absolute_position() const { - ERR_FAIL_V_MSG(Point2i(), "Mouse is not supported by this display server."); -} - Point2i DisplayServer::mouse_get_position() const { ERR_FAIL_V_MSG(Point2i(), "Mouse is not supported by this display server."); } @@ -359,7 +355,6 @@ void DisplayServer::_bind_methods() { ClassDB::bind_method(D_METHOD("mouse_warp_to_position", "position"), &DisplayServer::mouse_warp_to_position); ClassDB::bind_method(D_METHOD("mouse_get_position"), &DisplayServer::mouse_get_position); - ClassDB::bind_method(D_METHOD("mouse_get_absolute_position"), &DisplayServer::mouse_get_absolute_position); ClassDB::bind_method(D_METHOD("mouse_get_button_state"), &DisplayServer::mouse_get_button_state); ClassDB::bind_method(D_METHOD("clipboard_set", "clipboard"), &DisplayServer::clipboard_set); diff --git a/servers/display_server.h b/servers/display_server.h index d896572b88..2fb9b5946b 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -156,7 +156,6 @@ public: virtual void mouse_warp_to_position(const Point2i &p_to); virtual Point2i mouse_get_position() const; - virtual Point2i mouse_get_absolute_position() const; virtual MouseButton mouse_get_button_state() const; virtual void clipboard_set(const String &p_text); |