diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-15 20:47:34 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-18 11:47:03 +0200 |
commit | d62ca0c9c02fa202ca294e75c2bb12dfe774cc75 (patch) | |
tree | 25f96c4065b9df8ae6754e38d99a88b8a2a4037f /servers/display_server.h | |
parent | 8ae86f608a797d82a3546939181c830fa140e52b (diff) |
Window management improvements.
[macOS] Fix transient windows not working in the full-screen mode.
[macOS] Fix moving transient windows to the other screen than parent window.
[macOS] Fix popup menu switch on hover.
[macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events).
[macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected.
[macOS/Windows] Fix moving fullscreen windows between the screens.
Add auto refocusing of the parent window, when the focused transient window is closed.
Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |