[vlc-commits] macosx: don't accept hotkeys in the fspanel, since this would result in NSBeep without any action

Felix Paul Kühne git at videolan.org
Sun Apr 10 19:09:43 CEST 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 10 19:09:40 2011 +0200| [2a3551dffce37af345802766a783747ae22c00e7] | committer: Felix Paul Kühne

macosx: don't accept hotkeys in the fspanel, since this would result in NSBeep without any action

fixes #3854

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

 modules/gui/macosx/fspanel.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/fspanel.m b/modules/gui/macosx/fspanel.m
index c936439..89f2b40 100644
--- a/modules/gui/macosx/fspanel.m
+++ b/modules/gui/macosx/fspanel.m
@@ -84,10 +84,10 @@
          object: NSApp];
 }
 
-/* Windows created with NSBorderlessWindowMask normally can't be key, but we want ours to be */
+/* make sure that we don't become key, since we can't handle hotkeys */
 - (BOOL)canBecomeKeyWindow
 {
-    return YES;
+    return NO;
 }
 
 - (BOOL)mouseDownCanMoveWindow



More information about the vlc-commits mailing list