summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-06-15 01:09:36 (GMT)
committerhobbs <hobbs>2002-06-15 01:09:36 (GMT)
commit8413e8324d73fc51be15fdcbdd93f6a1bac90ae0 (patch)
tree6ef8952ae7ba141ba39a22f140f638515ab7bdcc /generic/tkInt.h
parent5c1e5bf298b329ec7a45cd601f6b4b208b24411b (diff)
downloadtk-8413e8324d73fc51be15fdcbdd93f6a1bac90ae0.zip
tk-8413e8324d73fc51be15fdcbdd93f6a1bac90ae0.tar.gz
tk-8413e8324d73fc51be15fdcbdd93f6a1bac90ae0.tar.bz2
* generic/tkEvent.c (Tk_HandleEvent):
* unix/tkUnixEvent.c (OpenIM): * unix/tkUnixKey.c (TkpGetString): * generic/tkInt.h: added TK_USE_XIM_SPOT flag bit for TkDisplay and used this to allow a runtime check to see if over-the-spot XIM is possible. If not it will try and fallback to the old-style input context, which handles things like dead keys input.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 0849d7e..f0c80a3 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.45 2002/06/15 00:21:42 hobbs Exp $
+ * RCS: $Id: tkInt.h,v 1.46 2002/06/15 01:09:36 hobbs Exp $
*/
#ifndef _TKINT
@@ -499,9 +499,14 @@ typedef struct TkDisplay {
/*
* Flag values for TkDisplay flags.
+ * TK_DISPLAY_COLLAPSE_MOTION_EVENTS: (default on)
+ * Indicates that we should collapse motion events on this display
+ * TK_USE_INPUT_METHODS: (default off)
+ * Indicates that we should use over-the-spot XIM on this display
*/
#define TK_DISPLAY_COLLAPSE_MOTION_EVENTS (1 << 0)
+#define TK_USE_XIM_SPOT (1 << 1)
/*
* One of the following structures exists for each error handler