aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-04 10:12:36 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:34:39 +0200
commit9b2bbb1cb49e7e301d48138f86c40def6775c2fe (patch)
tree841ca0b405815c87d2d6986c281474bf5e1f85bb
parent0e6f60a849fd29ff5f711d5a31c2f0972b938bce (diff)
Windows: Draw while application menu is open
-rw-r--r--pugl/detail/win.c2
1 files changed, 2 insertions, 0 deletions
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);