diff options
author | hobbs <hobbs> | 2002-06-15 02:08:12 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-06-15 02:08:12 (GMT) |
commit | c79fd6dcf3ca7f681ad3a9080eaebb25e97c2010 (patch) | |
tree | 1a7e9938d5736d6fde9910a8fb5a013e0cff6b32 /generic/tkEvent.c | |
parent | b9551536f704910727aa738f8a6e3aac1219c67f (diff) | |
download | tk-c79fd6dcf3ca7f681ad3a9080eaebb25e97c2010.zip tk-c79fd6dcf3ca7f681ad3a9080eaebb25e97c2010.tar.gz tk-c79fd6dcf3ca7f681ad3a9080eaebb25e97c2010.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)
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c index f096111..754b451 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -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: tkEvent.c,v 1.14 2002/06/15 01:54:09 hobbs Exp $ + * RCS: @(#) $Id: tkEvent.c,v 1.15 2002/06/15 02:08:12 hobbs Exp $ */ #include "tkPort.h" @@ -861,7 +861,7 @@ Tk_HandleEvent(eventPtr) * Unix, but this hasn't been factored out of the generic code yet. */ dispPtr = winPtr->dispPtr; - if ((dispPtr->useInputMethods)) { + if ((dispPtr->flags & TK_DISPLAY_USE_IM)) { if (!(winPtr->flags & (TK_CHECKED_IC|TK_ALREADY_DEAD))) { winPtr->flags |= TK_CHECKED_IC; if (dispPtr->inputMethod != NULL) { |