From 5c562ff95b92a9458605e69fe3a4506abbd501b7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 4 Dec 2024 00:52:38 +0100 Subject: XSync->XFlush --- src/window/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window/window.c') 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"); } -- cgit v1.2.3