summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-07-05 21:21:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-07-05 21:21:52 (GMT)
commite8809da1d2cb4e46c946ed54c986438049390981 (patch)
tree742347712a28b490b7306c39cf5d3fe022eee0b8 /generic
parentd40c78419c8a83e6390e95cc7599f770661548f8 (diff)
downloadtk-e8809da1d2cb4e46c946ed54c986438049390981.zip
tk-e8809da1d2cb4e46c946ed54c986438049390981.tar.gz
tk-e8809da1d2cb4e46c946ed54c986438049390981.tar.bz2
TIP#158 implementation; keypad keys on Win are now distinguishable.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c3
-rw-r--r--generic/tkInt.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 8682de6..03453c8 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.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: tkBind.c,v 1.33 2004/05/13 01:36:11 chengyemao Exp $
+ * RCS: @(#) $Id: tkBind.c,v 1.34 2004/07/05 21:21:52 dkf Exp $
*/
#include "tkPort.h"
@@ -425,6 +425,7 @@ static ModInfo modArray[] = {
{"Meta", META_MASK, 0},
{"M", META_MASK, 0},
{"Alt", ALT_MASK, 0},
+ {"Extended", EXTENDED_MASK, 0},
{"B1", Button1Mask, 0},
{"Button1", Button1Mask, 0},
{"B2", Button2Mask, 0},
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 635229a..b7bc84a 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.61 2003/12/21 23:50:13 davygrvy Exp $
+ * RCS: $Id: tkInt.h,v 1.62 2004/07/05 21:21:52 dkf Exp $
*/
#ifndef _TKINT
@@ -898,6 +898,7 @@ extern TkDisplay *tkDisplayList;
#define META_MASK (AnyModifier<<1)
#define ALT_MASK (AnyModifier<<2)
+#define EXTENDED_MASK (AnyModifier<<3)
/*
* Object types not declared in tkObj.c need to be mentioned here so