summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kinit/kinit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp
index 2a74368e1..191757d08 100644
--- a/kinit/kinit.cpp
+++ b/kinit/kinit.cpp
@@ -1615,6 +1615,7 @@ int tdeinit_x_errhandler( Display *dpy, XErrorEvent *err )
// another X connection for startup notification purposes
static void setupX()
{
+ XInitThreads();
XSetIOErrorHandler(tdeinit_xio_errhandler);
XSetErrorHandler(tdeinit_x_errhandler);
}