[vlc-commits] macosx: do not send left and right arrow key to controls

David Fuhrmann git at videolan.org
Wed Jan 2 00:54:32 CET 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Jan  2 00:49:01 2013 +0100| [fc33caea8f87af71454f4aacc0be91c247f21889] | 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).

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

 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 fbfd1dd..f5ddd05 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1160,8 +1160,6 @@ static VLCMain *_o_sharedMainInstance = nil;
                 case NSBackspaceCharacter:
                 case NSUpArrowFunctionKey:
                 case NSDownArrowFunctionKey:
-                case NSRightArrowFunctionKey:
-                case NSLeftArrowFunctionKey:
                 case NSEnterCharacter:
                 case NSCarriageReturnCharacter:
                     return NO;



More information about the vlc-commits mailing list