Commit bf330d22 authored by David Fuhrmann's avatar David Fuhrmann

macosx: simplify one setting and fix a typo regarding extra video window

parent a0140fe5
......@@ -511,10 +511,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
#pragma mark -
#pragma mark overwritten default functionality
- (BOOL)canBecomeKeyWindow
{
return YES;
}
- (void)windowResizedOrMoved:(NSNotification *)notification
{
......@@ -787,7 +783,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
else {
[o_extra_video_window center];
[o_extra_video_window setFrameAutosaveName:@"extra-videowindow"];
[o_detached_video_window setContentMinSize: NSMakeSize(f_min_video_height, f_min_video_height)];
[o_extra_video_window setContentMinSize: NSMakeSize(f_min_video_height, f_min_video_height)];
}
b_nonembedded = YES;
......@@ -1870,14 +1866,4 @@ static VLCMainWindow *_o_sharedInstance = nil;
}
}
- (IBAction)fullscreen:(id)sender
{
[[VLCCoreInteraction sharedInstance] toggleFullscreen];
}
- (BOOL)canBecomeKeyWindow
{
return YES;
}
@end
......@@ -242,6 +242,7 @@
/* we want to be moveable regardless of our style */
[self setMovableByWindowBackground: YES];
[self setCanBecomeKeyWindow:YES];
return self;
}
......
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