summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2002-06-15 02:08:12 (GMT)
committerhobbs <hobbs@noemail.net>2002-06-15 02:08:12 (GMT)
commit9eac8470623bd74016e540031e09cf94cd0dabe6 (patch)
tree1a7e9938d5736d6fde9910a8fb5a013e0cff6b32 /unix/tkUnixKey.c
parentec01ad36d969dd69f47db86c3ce7f76a1079a95b (diff)
downloadtk-9eac8470623bd74016e540031e09cf94cd0dabe6.zip
tk-9eac8470623bd74016e540031e09cf94cd0dabe6.tar.gz
tk-9eac8470623bd74016e540031e09cf94cd0dabe6.tar.bz2
* generic/tkCmds.c (Tk_TkObjCmd):
* unix/tkUnixKey.c (TkpGetString): * generic/tkEvent.c (Tk_HandleEvent): * generic/tkInt.h: changed useInputMethods boolean from int to a bit in the flags variable (TK_DISPLAY_USE_IM) FossilOrigin-Name: e07ed1cc5a967c0b9363ff1d0b2bf5dda93e30e8
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index 9bb4633..ac18f9c 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixKey.c,v 1.8 2002/06/15 01:54:09 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixKey.c,v 1.9 2002/06/15 02:08:12 hobbs Exp $
*/
#include "tkInt.h"
@@ -95,7 +95,7 @@ TkpGetString(winPtr, eventPtr, dsPtr)
Tcl_DStringSetLength(&buf, TCL_DSTRING_STATIC_SIZE-1);
#ifdef TK_USE_INPUT_METHODS
- if (winPtr->dispPtr->useInputMethods
+ if ((winPtr->dispPtr->flags & TK_DISPLAY_USE_IM)
&& (winPtr->inputContext != NULL)
&& (eventPtr->type == KeyPress)) {
#if TK_XIM_SPOT