From 9b2bbb1cb49e7e301d48138f86c40def6775c2fe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Aug 2019 10:12:36 +0200 Subject: Windows: Draw while application menu is open --- pugl/detail/win.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pugl/detail/win.c') diff --git a/pugl/detail/win.c b/pugl/detail/win.c index f1ab339..483ee43 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -525,6 +525,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) } break; case WM_ENTERSIZEMOVE: + case WM_ENTERMENULOOP: view->impl->resizing = true; SetTimer(view->impl->hwnd, PUGL_RESIZE_TIMER_ID, @@ -540,6 +541,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) } break; case WM_EXITSIZEMOVE: + case WM_EXITMENULOOP: KillTimer(view->impl->hwnd, PUGL_RESIZE_TIMER_ID); view->impl->resizing = false; puglPostRedisplay(view); -- cgit v1.2.1