aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 17:47:09 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 17:47:09 +0100
commitf54e63ab63409b887621e77168de6b9790d3a3cf (patch)
tree75a850420949a556a17cfe9c01428e76af7dd71e /pugl
parente0ca765a449d93d835588fb93f1c31233014025d (diff)
downloadpugl-f54e63ab63409b887621e77168de6b9790d3a3cf.tar.gz
pugl-f54e63ab63409b887621e77168de6b9790d3a3cf.tar.bz2
pugl-f54e63ab63409b887621e77168de6b9790d3a3cf.zip
Windows: Fix initial frame size
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/win.c1
1 files changed, 1 insertions, 0 deletions
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;