From 40b3be79127cddf8673a0ad8758682a211874cb5 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 30 May 2022 11:06:08 +0300 Subject: Remove mouse events that closed the popup from queue, to fix pop-up reopening. --- platform/windows/display_server_windows.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/windows') 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; } -- cgit v1.2.3