aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-07 22:52:23 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-07 22:52:23 +0200
commitac595a9b81c5bdf813882e9b7b14e12e3c81ab70 (patch)
tree593ad7115a5288494423ce3a3c357c5343d99b20 /src
parent35d51bb0be3005fcffb151596c8ed60cfb16a452 (diff)
xinitthreads
Diffstat (limited to 'src')
-rw-r--r--src/mgl.c1
1 files changed, 1 insertions, 0 deletions
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);