From efbb0a575b3ee9ea0fe84de37c544d3299b56656 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!=20(c?= =?UTF-8?q?herry=20picked=20from=20commit=206c806af1c99890adecb42abf52f4d6?= =?UTF-8?q?dc8ae72899)?= 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 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); }