[vlc-commits] macosx: fix menu support in detached video window

David Fuhrmann git at videolan.org
Fri May 11 13:06:33 CEST 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri May 11 09:16:22 2012 +0200| [347d28dec0ea91b878d0cc51e9eb215bf28db24e] | committer: Felix Paul Kühne

macosx: fix menu support in detached video window
(cherry picked from commit 7ebcfcf446d55a29ea3dfe7783beea27557e83be)

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=347d28dec0ea91b878d0cc51e9eb215bf28db24e
---

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 8429d5e..85e11f7 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1838,7 +1838,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     [o_fullscreen_window makeFirstResponder: o_video_view];
 
     [o_fullscreen_window makeKeyWindow];
-    [o_fullscreen_window setAcceptsMouseMovedEvents: TRUE];
+    [o_fullscreen_window setAcceptsMouseMovedEvents: YES];
 
     /* tell the fspanel to move itself to front next time it's triggered */
     [o_fspanel setVoutWasUpdated: (int)[[o_fullscreen_window screen] displayID]];
@@ -2495,6 +2495,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
 - (void)awakeFromNib
 {
+    [self setAcceptsMouseMovedEvents: YES];
+
     if (b_dark_interface)
     {
         [self setBackgroundColor: [NSColor clearColor]];



More information about the vlc-commits mailing list