diff options
-rw-r--r-- | src/win.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -975,8 +975,6 @@ puglSetWindowTitle(PuglView* view, const char* title) PuglStatus puglSetFrame(PuglView* view, const PuglRect frame) { - view->frame = frame; - if (view->impl->hwnd) { RECT rect = {(long)frame.x, (long)frame.y, @@ -997,6 +995,7 @@ puglSetFrame(PuglView* view, const PuglRect frame) } } + view->frame = frame; return PUGL_SUCCESS; } |