From b4359e8bf97799f83dc1ca62744db7cfcc81bc87 Mon Sep 17 00:00:00 2001 From: François Andriot Date: Mon, 24 Jun 2013 19:50:32 +0200 Subject: RPM Packaging: rename directories --- ...3.5.13-fix_x11_threading_when_kinit_is_used.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 redhat/tdelibs/kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch (limited to 'redhat/tdelibs/kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch') diff --git a/redhat/tdelibs/kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch b/redhat/tdelibs/kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch new file mode 100644 index 000000000..1cdb91958 --- /dev/null +++ b/redhat/tdelibs/kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch @@ -0,0 +1,20 @@ +commit 6c806af1c99890adecb42abf52f4d6dc8ae72899 +Author: Timothy Pearson +Date: 1337556266 -0500 + + Initialize X11 threading when kinit is used to launch a program + This closes Bug 812 + Thanks to Slávek Banko for the patch! + +diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp +index 2a74368..191757d 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(kdeinit_xio_errhandler); + XSetErrorHandler(kdeinit_x_errhandler); + } -- cgit v1.2.3