diff options
-rw-r--r-- | kinit/kinit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp index bda7a7d35..73f292877 100644 --- a/kinit/kinit.cpp +++ b/kinit/kinit.cpp @@ -1615,6 +1615,7 @@ int kdeinit_x_errhandler( Display *dpy, XErrorEvent *err ) // another X connection for startup notification purposes static void setupX() { + XInitThreads(); XSetIOErrorHandler(kdeinit_xio_errhandler); XSetErrorHandler(kdeinit_x_errhandler); } |