From 6c806af1c99890adecb42abf52f4d6dc8ae72899 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 May 2012 18:24:26 -0500 Subject: [PATCH] =?UTF-8?q?Initialize=20X11=20threading=20when=20kinit=20i?= =?UTF-8?q?s=20used=20to=20launch=20a=20program=20This=20closes=20Bug=2081?= =?UTF-8?q?2=20Thanks=20to=20Sl=C3=A1vek=20Banko=20for=20the=20patch!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kinit/kinit.cpp | 1 + 1 file changed, 1 insertion(+) 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); }