Initialize X11 threading when kinit is used to launch a program

This closes Bug 812
Thanks to Slávek Banko for the patch!
pull/16/head
Timothy Pearson 13 years ago
parent c7f5675eef
commit 6c806af1c9

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

Loading…
Cancel
Save