Commit 28facd94 authored by David Fuhrmann's avatar David Fuhrmann

macosx: decouple !video-deco from detached video window and allow changing...

macosx: decouple !video-deco from detached video window and allow changing this setting without restart
parent 3a5df2d2
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
BOOL b_dropzone_active; BOOL b_dropzone_active;
BOOL b_splitview_removed; BOOL b_splitview_removed;
BOOL b_minimized_view; BOOL b_minimized_view;
BOOL b_video_deco;
BOOL b_show_jump_buttons; BOOL b_show_jump_buttons;
BOOL b_show_playmode_buttons; BOOL b_show_playmode_buttons;
int i_lastSplitViewHeight; int i_lastSplitViewHeight;
...@@ -242,10 +241,9 @@ ...@@ -242,10 +241,9 @@
@interface VLCDetachedVideoWindow : NSWindow @interface VLCDetachedVideoWindow : NSWindow
{ {
BOOL b_dark_interface; BOOL b_dark_interface;
BOOL b_video_deco;
NSRect previousSavedFrame; NSRect previousSavedFrame;
} }
- (void)customZoom:(id)sender; - (void)customZoom:(id)sender;
@end @end
\ No newline at end of file
This diff is collapsed.
...@@ -617,11 +617,10 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -617,11 +617,10 @@ static VLCMain *_o_sharedMainInstance = nil;
[o_msgs_refresh_btn setImage: [NSImage imageNamed: NSImageNameRefreshTemplate]]; [o_msgs_refresh_btn setImage: [NSImage imageNamed: NSImageNameRefreshTemplate]];
BOOL b_video_deco = var_InheritBool(VLCIntf, "video-deco");
/* yeah, we are done */ /* yeah, we are done */
b_nativeFullscreenMode = NO; b_nativeFullscreenMode = NO;
#ifdef MAC_OS_X_VERSION_10_7 #ifdef MAC_OS_X_VERSION_10_7
if (!OSX_SNOW_LEOPARD && b_video_deco) if (!OSX_SNOW_LEOPARD)
b_nativeFullscreenMode = var_InheritBool(p_intf, "macosx-nativefullscreenmode"); b_nativeFullscreenMode = var_InheritBool(p_intf, "macosx-nativefullscreenmode");
#endif #endif
......
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