Commit 347d28de authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: fix menu support in detached video window

(cherry picked from commit 7ebcfcf446d55a29ea3dfe7783beea27557e83be)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 0f06b532
...@@ -1838,7 +1838,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1838,7 +1838,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_fullscreen_window makeFirstResponder: o_video_view]; [o_fullscreen_window makeFirstResponder: o_video_view];
[o_fullscreen_window makeKeyWindow]; [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 */ /* tell the fspanel to move itself to front next time it's triggered */
[o_fspanel setVoutWasUpdated: (int)[[o_fullscreen_window screen] displayID]]; [o_fspanel setVoutWasUpdated: (int)[[o_fullscreen_window screen] displayID]];
...@@ -2495,6 +2495,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -2495,6 +2495,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
- (void)awakeFromNib - (void)awakeFromNib
{ {
[self setAcceptsMouseMovedEvents: YES];
if (b_dark_interface) if (b_dark_interface)
{ {
[self setBackgroundColor: [NSColor clearColor]]; [self setBackgroundColor: [NSColor clearColor]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment