diff options
-rw-r--r-- | src/mgl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |