Commit d40f6191 authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not send left and right arrow key to controls

The left and right arrow keys have not any real advantage / functionality for
the playlist view or sidebar but are used by default for several hotkeys.
So lets allow these as VLC hotkeys (also for audio files).
(cherry picked from commit fc33caea8f87af71454f4aacc0be91c247f21889)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent 33dfaa8a
...@@ -1366,8 +1366,6 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1366,8 +1366,6 @@ unsigned int CocoaKeyToVLC( unichar i_key )
case NSBackspaceCharacter: case NSBackspaceCharacter:
case NSUpArrowFunctionKey: case NSUpArrowFunctionKey:
case NSDownArrowFunctionKey: case NSDownArrowFunctionKey:
case NSRightArrowFunctionKey:
case NSLeftArrowFunctionKey:
case NSEnterCharacter: case NSEnterCharacter:
case NSCarriageReturnCharacter: case NSCarriageReturnCharacter:
return NO; return NO;
......
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