diff options
author | David Robillard <d@drobilla.net> | 2020-03-08 17:47:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-08 17:47:09 +0100 |
commit | f54e63ab63409b887621e77168de6b9790d3a3cf (patch) | |
tree | 75a850420949a556a17cfe9c01428e76af7dd71e /pugl/detail | |
parent | e0ca765a449d93d835588fb93f1c31233014025d (diff) | |
download | pugl-f54e63ab63409b887621e77168de6b9790d3a3cf.tar.gz pugl-f54e63ab63409b887621e77168de6b9790d3a3cf.tar.bz2 pugl-f54e63ab63409b887621e77168de6b9790d3a3cf.zip |
Windows: Fix initial frame size
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/win.c | 1 |
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; |