diff options
author | David Robillard <d@drobilla.net> | 2022-05-20 21:09:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-21 17:07:40 -0400 |
commit | a88b470d9c954073fcfcfeca2242809532eaf048 (patch) | |
tree | 26b08aef47835f54b8db0cd55b7374c757030626 /src/win.c | |
parent | 82405e8c177de446d03c340b4b6876370d79883a (diff) | |
download | pugl-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |