vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Apr 10 
20:03:05 2011 +0200| [6d98ddf3122d78ae8f2c9e29a7f4e3b96f68014b] | 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.git/?a=commit;h=6d98ddf3122d78ae8f2c9e29a7f4e3b96f68014b
---

 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 7b31e6e..a78b8b3 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