summaryrefslogtreecommitdiff
path: root/packages/tcltk/files/disable-xim.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tcltk/files/disable-xim.patch')
-rw-r--r--packages/tcltk/files/disable-xim.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/tcltk/files/disable-xim.patch b/packages/tcltk/files/disable-xim.patch
new file mode 100644
index 0000000000..bc11d3bbe9
--- /dev/null
+++ b/packages/tcltk/files/disable-xim.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ../generic/tk.h~disable-xim
++++ ../generic/tk.h
+@@ -109,9 +109,9 @@
+ * Decide whether or not to use input methods.
+ */
+
+-#ifdef XNQueryInputStyle
+-#define TK_USE_INPUT_METHODS
+-#endif
++//#ifdef XNQueryInputStyle
++#undef TK_USE_INPUT_METHODS
++//#endif
+
+ /*
+ * Dummy types that are used by clients: