diff options
author | David Robillard <d@drobilla.net> | 2019-07-22 23:37:33 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-23 20:28:56 +0200 |
commit | 614896f49f88f4cefd57d3cf8ce663d984d19231 (patch) | |
tree | 95734fc847c81bef33f5a158f37ea2bdcb5d8e8b | |
parent | 9ca94acb7afc6812975af80afcaeff13a65a009f (diff) | |
download | pugl-614896f49f88f4cefd57d3cf8ce663d984d19231.tar.gz pugl-614896f49f88f4cefd57d3cf8ce663d984d19231.tar.bz2 pugl-614896f49f88f4cefd57d3cf8ce663d984d19231.zip |
Windows: Fix configured window size
-rw-r--r-- | pugl/pugl_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c index 0e378eb..3f5a293 100644 --- a/pugl/pugl_win.c +++ b/pugl/pugl_win.c @@ -600,7 +600,7 @@ static RECT handleConfigure(PuglView* view, PuglEvent* event) { RECT rect; - GetWindowRect(view->impl->hwnd, &rect); + GetClientRect(view->impl->hwnd, &rect); view->width = rect.right - rect.left; view->height = rect.bottom - rect.top; |