Fixed Alt+Shift+letter as shortcut
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0786bea02e
commit
191abba69a
@ -1182,6 +1182,8 @@ OSStatus cocoaKeyboardHandler(NSEvent *theEvent)
|
||||
UniChar one;
|
||||
CFStringGetCharacters((CFStringRef)sim, CFRangeMake(0, 1), &one);
|
||||
sym = one;
|
||||
// charactersIgnoringModifiers does'nt ignore shift, remove it when it's on
|
||||
if(sym >= 'A' && sym <= 'Z') sym += 32;
|
||||
}
|
||||
|
||||
Fl::e_keysym = Fl::e_original_keysym = sym;
|
||||
|
Loading…
Reference in New Issue
Block a user