aboutsummaryrefslogtreecommitdiffstats
path: root/src/win.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 21:09:15 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 17:07:40 -0400
commita88b470d9c954073fcfcfeca2242809532eaf048 (patch)
tree26b08aef47835f54b8db0cd55b7374c757030626 /src/win.c
parent82405e8c177de446d03c340b4b6876370d79883a (diff)
downloadpugl-a88b470d9c954073fcfcfeca2242809532eaf048.tar.gz
pugl-a88b470d9c954073fcfcfeca2242809532eaf048.tar.bz2
pugl-a88b470d9c954073fcfcfeca2242809532eaf048.zip
Windows: Send configure events when frame moves or resizes
Diffstat (limited to 'src/win.c')
-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);