diff options
-rw-r--r-- | pugl/pugl_win.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index 2ae832b..4a1d008 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -465,6 +465,8 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) view->height = rect.bottom - rect.top; event.configure.width = view->width; event.configure.height = view->height; + InvalidateRect(view->impl->hwnd, NULL, FALSE); + UpdateWindow(view->impl->hwnd); break; case WM_GETMINMAXINFO: mmi = (MINMAXINFO*)lParam; |