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/windows | |
parent | 6cd730ea98595089aa8506354755059b07d0ce21 (diff) |
Remove mouse events that closed the popup from queue, to fix pop-up reopening.
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/display_server_windows.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 9763fb1066..998b0882b3 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -2199,6 +2199,7 @@ LRESULT DisplayServerWindows::MouseProc(int code, WPARAM wParam, LPARAM lParam) } if (C) { _send_window_event(windows[C->get()], DisplayServerWindows::WINDOW_EVENT_CLOSE_REQUEST); + return 1; } } break; } |