diff options
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 4099553..2b1090e 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -872,9 +872,9 @@ puglSetFrame(PuglView* view, const PuglRect frame) view->frame = frame; if (view->impl->win && - XMoveResizeWindow(view->world->impl->display, view->impl->win, - (int)frame.x, (int)frame.y, - (int)frame.width, (int)frame.height)) { + !XMoveResizeWindow(view->world->impl->display, view->impl->win, + (int)frame.x, (int)frame.y, + (int)frame.width, (int)frame.height)) { return PUGL_UNKNOWN_ERROR; } |