summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-16 21:57:35 (GMT)
committerhobbs <hobbs>1999-12-16 21:57:35 (GMT)
commitd3ed5663cab03782de9a8c9459ebdf859ca8bbe5 (patch)
treea359295061e8e63458411176f65e6bc6517f9dec /generic/tkWindow.c
parent806f3e8e5f86a8eec2a7b052e173b98fc6ecf928 (diff)
downloadtk-d3ed5663cab03782de9a8c9459ebdf859ca8bbe5.zip
tk-d3ed5663cab03782de9a8c9459ebdf859ca8bbe5.tar.gz
tk-d3ed5663cab03782de9a8c9459ebdf859ca8bbe5.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]
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 4686cb3..bc088f9 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.13 1999/12/14 06:52:34 hobbs Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.14 1999/12/16 21:57:36 hobbs Exp $
*/
#include "tkPort.h"
@@ -458,6 +458,7 @@ GetScreen(interp, screenName, screenPtr)
dispPtr->refCount = 0;
strncpy(dispPtr->name, screenName, length);
dispPtr->name[length] = '\0';
+ dispPtr->useInputMethods = 0;
OpenIM(dispPtr);
TkInitXId(dispPtr);