Commit f60a2687 authored by LRN's avatar LRN
Browse files

Don't process W32 messages while in a W32 modal loop

parent 1aa20c45
Pipeline #277199 passed with stages
in 46 minutes and 5 seconds
...@@ -3898,7 +3898,8 @@ _gdk_win32_display_queue_events (GdkDisplay *display) ...@@ -3898,7 +3898,8 @@ _gdk_win32_display_queue_events (GdkDisplay *display)
{ {
MSG msg; MSG msg;
if (modal_win32_dialog != NULL) if (modal_win32_dialog != NULL ||
_modal_operation_in_progress != GDK_WIN32_MODAL_OP_NONE)
return; return;
while (PeekMessageW (&msg, NULL, 0, 0, PM_REMOVE)) while (PeekMessageW (&msg, NULL, 0, 0, PM_REMOVE))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment