aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-04 00:52:38 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-04 00:52:38 +0100
commit5c562ff95b92a9458605e69fe3a4506abbd501b7 (patch)
treea3f57dff1221ea53ee5e90212042317bf9cb507b /src
parent7acea115d95f57427ff8e34411d25ef5d9f46f49 (diff)
XSync->XFlush
Diffstat (limited to 'src')
-rw-r--r--src/window/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window/window.c b/src/window/window.c
index 2efb161..097ad76 100644
--- a/src/window/window.c
+++ b/src/window/window.c
@@ -1839,7 +1839,7 @@ void mgl_window_set_size_limits(mgl_window *self, mgl_vec2i minimum, mgl_vec2i m
mgl_context *context = mgl_get_context();
XSetWMNormalHints(context->connection, self->window, size_hints);
XFree(size_hints);
- XSync(context->connection, False);
+ XFlush(context->connection);
} else {
fprintf(stderr, "mgl warning: failed to set window size hints\n");
}