vlc/vlc-1.1 | branch: master | Felix Paul Kühne <[email protected]> | 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

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

Reply via email to