From f54e63ab63409b887621e77168de6b9790d3a3cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Mar 2020 17:47:09 +0100 Subject: Windows: Fix initial frame size --- pugl/detail/win.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pugl/detail/win.c') diff --git a/pugl/detail/win.c b/pugl/detail/win.c index 6b7414a..e915343 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -190,6 +190,7 @@ puglCreateWindow(PuglView* view, const char* title) puglSetWindowTitle(view, title); } + puglSetFrame(view, view->frame); SetWindowLongPtr(impl->hwnd, GWLP_USERDATA, (LONG_PTR)view); return PUGL_SUCCESS; -- cgit v1.2.1