Commit b9ada9b9 authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: fix handling of shortcuts which include shift

(cherry picked from commit 837e3ea601dc4d84c66dacd0dff5a8a250b9302f)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent ba9cae3a
...@@ -1327,7 +1327,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1327,7 +1327,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
val.i_int |= KEY_MODIFIER_COMMAND; 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 */ /* 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 ) 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