diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2009-02-24 23:12:57 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-02-25 11:35:19 -0800 |
commit | 10e0603fb989d1e6b2675ef5ca8223777b4921e6 (patch) | |
tree | c94225f20b3c07027e3c819cc3966cef37edd733 | |
parent | e96921ca954ff0d3de8a69cea085aac2d43b0a2e (diff) |
XQuartz: Re-enable support for capslock
(cherry picked from commit 4901b8147e593d26d7a31a9b73a201254b948916)
-rw-r--r-- | hw/xquartz/darwinEvents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index 89d2233ca..374c4e07e 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -155,6 +155,7 @@ int darwin_modifier_mask_list[] = { #else NX_CONTROLMASK, NX_SHIFTMASK, NX_COMMANDMASK, NX_ALTERNATEMASK, #endif + NX_ALPHASHIFTMASK, 0 }; @@ -174,7 +175,7 @@ static void DarwinUpdateModifiers( } for(f=darwin_modifier_mask_list; *f; f++) - if(*f & flags) { + if(*f & flags && *f != NX_ALPHASHIFTMASK) { key = DarwinModifierNXMaskToNXKey(*f); if(key == -1) ErrorF("DarwinUpdateModifiers: Unsupported NXMask: 0x%x\n", *f); |