aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-03 10:40:56 -0400
committerDavid Robillard <d@drobilla.net>2023-05-03 10:41:16 -0400
commit128f21802ed1502c2fad48935359c56b97445318 (patch)
tree81277385e8e75b11177281e6753581bc019478ca
parent73e46c1b716cbf57e335a907712eb159ce4231fb (diff)
downloadpugl-128f21802ed1502c2fad48935359c56b97445318.tar.gz
pugl-128f21802ed1502c2fad48935359c56b97445318.tar.bz2
pugl-128f21802ed1502c2fad48935359c56b97445318.zip
Add missing field initializer
-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;