From ac595a9b81c5bdf813882e9b7b14e12e3c81ab70 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 7 Oct 2022 22:52:23 +0200 Subject: xinitthreads --- src/mgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mgl.c b/src/mgl.c index 8988003..d73e2d0 100644 --- a/src/mgl.c +++ b/src/mgl.c @@ -95,6 +95,7 @@ int mgl_init(void) { prev_xerror = XSetErrorHandler(ignore_xerror); prev_xioerror = XSetIOErrorHandler(ignore_xioerror); + XInitThreads(); XkbSetDetectableAutoRepeat(context.connection, True, NULL); context.wm_delete_window_atom = XInternAtom(context.connection, "WM_DELETE_WINDOW", False); -- cgit v1.2.3