summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcc_benny <cc_benny>2004-01-25 12:03:59 (GMT)
committercc_benny <cc_benny>2004-01-25 12:03:59 (GMT)
commit2aa0c69749466990696dfe204c39fbd30ad6562d (patch)
tree700559e0f733516d13cc0b12498ee4fe8fcb51d6
parent00be7f8944ba29e824b103b00b0748b842ac8c2e (diff)
downloadtk-2aa0c69749466990696dfe204c39fbd30ad6562d.zip
tk-2aa0c69749466990696dfe204c39fbd30ad6562d.tar.gz
tk-2aa0c69749466990696dfe204c39fbd30ad6562d.tar.bz2
* (TkpGetKeySym): Ignore option key for generation of keysym,
as before.
-rw-r--r--macosx/tkMacOSXKeyboard.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyboard.c b/macosx/tkMacOSXKeyboard.c
index 7cfa6fa..4e27f0e 100644
--- a/macosx/tkMacOSXKeyboard.c
+++ b/macosx/tkMacOSXKeyboard.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXKeyboard.c,v 1.13 2004/01/24 18:16:09 cc_benny Exp $
+ * RCS: @(#) $Id: tkMacOSXKeyboard.c,v 1.14 2004/01/25 12:03:59 cc_benny Exp $
*/
#include "tkInt.h"
@@ -712,9 +712,18 @@ TkpGetKeySym(
*/
index = 0;
+
+ /*
+ * We want Option key combinations to use their base chars as keysyms, so
+ * we ignore the option modifier here.
+ */
+
+#if 0
if (eventPtr->xkey.state & OPTION_MASK) {
index |= 2;
}
+#endif
+
if ((eventPtr->xkey.state & ShiftMask)
|| (/* (dispPtr->lockUsage != LU_IGNORE)
&& */ (eventPtr->xkey.state & LockMask))) {