Commit 837e3ea6 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix handling of shortcuts which include shift

parent 89f00b5a
......@@ -1337,7 +1337,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
val.i_int |= KEY_MODIFIER_COMMAND;
}
key = [[o_event charactersIgnoringModifiers] characterAtIndex: 0];
key = [[[o_event charactersIgnoringModifiers] lowercaseString] characterAtIndex: 0];
/* handle Lion's default key combo for fullscreen-toggle in addition to our own hotkeys */
if( key == 'f' && i_pressed_modifiers & NSControlKeyMask && i_pressed_modifiers & NSCommandKeyMask )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment