diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-07 22:52:23 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-07 22:52:23 +0200 |
commit | ac595a9b81c5bdf813882e9b7b14e12e3c81ab70 (patch) | |
tree | 593ad7115a5288494423ce3a3c357c5343d99b20 /src | |
parent | 35d51bb0be3005fcffb151596c8ed60cfb16a452 (diff) |
xinitthreads
Diffstat (limited to 'src')
-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); |