aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--pugl/detail/x11.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/AUTHORS b/AUTHORS
index 482b17a..1470491 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -8,3 +8,4 @@ Hanspeter Portner <dev@open-music-kontrollers.ch>
Stefan Westerfeld <stefan@space.twc.de>
Jordan Halase <jordan@halase.me>
Oliver Schmidt <oliver@luced.de>
+Zoƫ Sparks <zoe@milky.flowers> \ No newline at end of file
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;
}