diff options
author | falkTX <falktx@falktx.com> | 2021-05-25 10:45:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-25 09:42:20 -0400 |
commit | a5674908ca0832ef6f89fee49150c6743a09c0ef (patch) | |
tree | 444d64bb2db838ebc12a24d916abb027574d37eb /src | |
parent | ab80b4bfa717049da3d8fb21cd4560fced6f5baf (diff) | |
download | pugl-a5674908ca0832ef6f89fee49150c6743a09c0ef.tar.gz pugl-a5674908ca0832ef6f89fee49150c6743a09c0ef.tar.bz2 pugl-a5674908ca0832ef6f89fee49150c6743a09c0ef.zip |
Windows: Make puglSetFrame() consistent with X11
Diffstat (limited to 'src')
-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; } |