aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_win.c2
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;