vlc/vlc-2.0 | branch: master | David Fuhrmann <[email protected]> | 
Wed Jan  2 00:49:01 2013 +0100| [d40f619141aef4e79fc0fd2ce3e0ce4e4f28701a] | 
committer: 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: David Fuhrmann <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=d40f619141aef4e79fc0fd2ce3e0ce4e4f28701a
---

 modules/gui/macosx/intf.m |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 601e89b..aa1538e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1366,8 +1366,6 @@ unsigned int CocoaKeyToVLC( unichar i_key )
                 case NSBackspaceCharacter:
                 case NSUpArrowFunctionKey:
                 case NSDownArrowFunctionKey:
-                case NSRightArrowFunctionKey:
-                case NSLeftArrowFunctionKey:
                 case NSEnterCharacter:
                 case NSCarriageReturnCharacter:
                     return NO;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to