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

David Fuhrmann git at videolan.org
Wed Jan 2 11:27:11 CET 2013


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | 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 <david.fuhrmann at googlemail.com>

> 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;



More information about the vlc-commits mailing list