diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-05-30 11:06:08 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-06-02 08:35:27 +0300 |
commit | 40b3be79127cddf8673a0ad8758682a211874cb5 (patch) | |
tree | c9be2459e688a79e34e33cfb40ca5070ea631814 /platform/osx/display_server_osx.h | |
parent | 6cd730ea98595089aa8506354755059b07d0ce21 (diff) | |
download | redot-engine-40b3be79127cddf8673a0ad8758682a211874cb5.tar.gz |
Remove mouse events that closed the popup from queue, to fix pop-up reopening.
Diffstat (limited to 'platform/osx/display_server_osx.h')
-rw-r--r-- | platform/osx/display_server_osx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/display_server_osx.h b/platform/osx/display_server_osx.h index 52b4fab2ea..9575cb29a2 100644 --- a/platform/osx/display_server_osx.h +++ b/platform/osx/display_server_osx.h @@ -208,7 +208,7 @@ public: void push_to_key_event_buffer(const KeyEvent &p_event); void update_im_text(const Point2i &p_selection, const String &p_text); void set_last_focused_window(WindowID p_window); - void mouse_process_popups(bool p_close = false); + bool mouse_process_popups(bool p_close = false); void popup_open(WindowID p_window); void popup_close(WindowID p_window); void set_is_resizing(bool p_is_resizing); |