summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-07 08:49:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-07 08:49:25 (GMT)
commit10baa6196cbb549c3bf73d0b9f0601574d63ae79 (patch)
treeff0e7bd13a0128fb8e0484acf32d94cd4c50126c
parent0fbe0db2af1c8fc2e747c2807225a050f1565bf5 (diff)
downloadtk-bug_3613668.zip
tk-bug_3613668.tar.gz
tk-bug_3613668.tar.bz2
Enable XInitThreads on some platforms where it might be safe.bug_3613668
-rw-r--r--unix/tkUnixEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 9a29f51..cf08b7f 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -129,7 +129,7 @@ TkpOpenDisplay(
int reason = 0;
unsigned int use_xkb = 0;
/* Disabled, until we have a better test. See [Bug 3613668] */
-#if 0 && defined(XKEYCODETOKEYSYM_IS_DEPRECATED) && defined(TCL_THREADS)
+#if defined(XKEYCODETOKEYSYM_IS_DEPRECATED) && defined(TCL_THREADS)
static int xinited = 0;
static Tcl_Mutex xinitMutex = NULL;