aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/win.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win.c b/src/win.c
index 26dd4c8..8f2a26b 100644
--- a/src/win.c
+++ b/src/win.c
@@ -604,6 +604,9 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
InvalidateRect(view->impl->hwnd, NULL, false);
}
break;
+ case WM_WINDOWPOSCHANGED:
+ handleConfigure(view, &event);
+ break;
case WM_SIZING:
if (view->sizeHints[PUGL_MIN_ASPECT].width) {
constrainAspect(view, (RECT*)lParam, wParam);