summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-12-16 21:57:35 (GMT)
committerhobbs <hobbs@noemail.net>1999-12-16 21:57:35 (GMT)
commitfeb635bda0bb3be090722f31e2886cc52bdad153 (patch)
treea359295061e8e63458411176f65e6bc6517f9dec /generic/tkInt.h
parentbb0b1ed89ded5088cb9310c0d4bf22b08931f5fb (diff)
downloadtk-feb635bda0bb3be090722f31e2886cc52bdad153.zip
tk-feb635bda0bb3be090722f31e2886cc52bdad153.tar.gz
tk-feb635bda0bb3be090722f31e2886cc52bdad153.tar.bz2
* generic/tkCmds.c:
* generic/tkEvent.c: * generic/tkWindow.c: * generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?' call to provide support for disabling/enabling the use of XIM on X. This was previously all done at compile time, and always on. Now it * generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed mem it shouldn't. * generic/tkFont.c: added "bitstream cyberbit" (popular Windows CJK font) to list of font fallbacks. (kenny) [Bug: 2407] FossilOrigin-Name: 3f23335ddf3083f408deedfb90188f6c2fe8a533
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 6da5416..bf747f5 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: $Id: tkInt.h,v 1.19 1999/12/14 06:52:29 hobbs Exp $
+ * RCS: $Id: tkInt.h,v 1.20 1999/12/16 21:57:36 hobbs Exp $
*/
#ifndef _TKINT
@@ -482,6 +482,7 @@ typedef struct TkDisplay {
#ifdef TK_USE_INPUT_METHODS
XIM inputMethod; /* Input method for this display */
#endif /* TK_USE_INPUT_METHODS */
+ int useInputMethods; /* Whether to use input methods */
Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */
int refCount; /* Reference count of how many Tk applications