[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 20:17:30 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | 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
More information about the vlc-commits
mailing list