Initialize X11 threading when kinit is used to launch a program

This closes Bug 812
Thanks to Slávek Banko for the patch!
(cherry picked from commit 6c806af1c9)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent eae91cf3d2
commit efbb0a575b

@ -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);
}

Loading…
Cancel
Save