Commit 7ebcfcf4 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix menu support in detached video window

parent 0f0d4751
...@@ -1836,7 +1836,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1836,7 +1836,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_fullscreen_window makeFirstResponder: [[o_video_view subviews] objectAtIndex:0]]; [o_fullscreen_window makeFirstResponder: [[o_video_view subviews] objectAtIndex:0]];
[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]];
...@@ -2494,6 +2494,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -2494,6 +2494,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