diff options
author | hobbs <hobbs> | 2001-10-16 21:46:10 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-10-16 21:46:10 (GMT) |
commit | e0bc5f98d674ab9bece488123208ad197828b333 (patch) | |
tree | 0ffae761c7446f038fc08d3601a84c755c5c7365 | |
parent | 82c0df4a9110e9836f3374e6b7f0d0903fbc0cad (diff) | |
download | tk-e0bc5f98d674ab9bece488123208ad197828b333.zip tk-e0bc5f98d674ab9bece488123208ad197828b333.tar.gz tk-e0bc5f98d674ab9bece488123208ad197828b333.tar.bz2 |
* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable
basic XIM input on Unix. [Patch #412727] (fabian)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tkWindow.c | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2001-10-16 Jeff Hobbs <jeffh@ActiveState.com> + + * generic/tkWindow.c (OpenIM): Added simple XIM patch to enable + basic XIM input on Unix. [Patch #412727] (fabian) + 2001-10-15 Jeff Hobbs <jeffh@ActiveState.com> * unix/configure: diff --git a/generic/tkWindow.c b/generic/tkWindow.c index f881c5b..b18cb40 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.16.2.2 2001/08/28 00:13:58 hobbs Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.16.2.3 2001/10/16 21:46:10 hobbs Exp $ */ #include "tkPort.h" @@ -2465,6 +2465,11 @@ OpenIM(dispPtr) #else unsigned short i; XIMStyles *stylePtr; + char *modifier_list; + + if ((modifier_list = XSetLocaleModifiers("")) == NULL) { + goto error; + } dispPtr->inputMethod = XOpenIM(dispPtr->display, NULL, NULL, NULL); if (dispPtr->inputMethod == NULL) { |