aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win.c b/src/win.c
index 2f54749..da2eaa7 100644
--- a/src/win.c
+++ b/src/win.c
@@ -698,7 +698,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
POINT pt = {0, 0};
MINMAXINFO* mmi = NULL;
void* dummy_ptr = NULL;
- WINDOWPLACEMENT placement = {sizeof(WINDOWPLACEMENT), 0, 0, pt, pt};
+ WINDOWPLACEMENT placement = {sizeof(WINDOWPLACEMENT), 0, 0, pt, pt, rect};
if (InSendMessageEx(dummy_ptr)) {
event.any.flags |= PUGL_IS_SEND_EVENT;