aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/tk83/files/patch-aj
blob: 2de5564338093f2c0fba4b2a6159a4311c8513f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- ../generic/tkBind.c.orig	Wed Feb  9 02:13:50 2000
+++ ../generic/tkBind.c	Wed Feb 21 21:27:44 2001
@@ -1443,6 +1443,11 @@
      */
 
     if (winPtr->pathName == NULL) {
+#ifdef TK_USE_INPUT_METHODS
+#ifdef I18N_IMPROVE
+	winPtr->dispPtr->isComposed = 0;
+#endif /* I18N_IMPROVE */
+#endif /* TK_USE_INPUT_METHODS */
 	return;
     }
 
@@ -1678,6 +1683,11 @@
 	    Tcl_DStringAppend(&scripts, "", 1);
 	}
     }
+#ifdef TK_USE_INPUT_METHODS
+#ifdef I18N_IMPROVE
+    winPtr->dispPtr->isComposed = 0;
+#endif /* I18N_IMPROVE */
+#endif /* TK_USE_INPUT_METHODS */
     if (Tcl_DStringLength(&scripts) == 0) {
 	return;
     }