From 128f21802ed1502c2fad48935359c56b97445318 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 3 May 2023 10:40:56 -0400 Subject: Add missing field initializer --- src/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1