summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-02 11:07:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-02 11:07:55 (GMT)
commit8a3e46aada6943f89dfdb746116c20fe332535eb (patch)
tree74ec102e33450a1e4e9ce197bebd5e9082d2738f /generic/tkInt.h
parent1a86dacbaaea58d12f5c210efdd06d8974adc362 (diff)
downloadtk-8a3e46aada6943f89dfdb746116c20fe332535eb.zip
tk-8a3e46aada6943f89dfdb746116c20fe332535eb.tar.gz
tk-8a3e46aada6943f89dfdb746116c20fe332535eb.tar.bz2
Fix [Bug 1373712] and [Bug 1924761].
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index a9062ec..73297d8 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.116 2010/01/01 22:50:27 dkf Exp $
+ * RCS: $Id: tkInt.h,v 1.117 2010/01/02 11:07:56 dkf Exp $
*/
#ifndef _TKINT
@@ -824,6 +824,22 @@ typedef struct TkWindow {
} TkWindow;
/*
+ * Real definition of some events. Note that these events come from outside
+ * but have internally generated pieces added to them.
+ */
+
+typedef struct {
+ XKeyEvent keyEvent; /* The real event from X11. */
+ char *charValuePtr; /* A pointer to a string that holds the key's
+ * %A substitution text (before backslash
+ * adding), or NULL if that has not been
+ * computed yet. If non-NULL, this string was
+ * allocated with ckalloc(). */
+ int charValueLen; /* Length of string in charValuePtr when that
+ * is non-NULL. */
+} TkKeyEvent;
+
+/*
* Flags passed to TkpMakeMenuWindow's 'transient' argument.
*/