Commit 2f6670cc authored by David Fuhrmann's avatar David Fuhrmann

macosx: make sure that window is not movable in lion fullscreen mode

this is needed especially for black ui style
parent 0fd1cbe3
...@@ -2119,6 +2119,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -2119,6 +2119,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
if ([[VLCMain sharedInstance] activeVideoPlayback]) if ([[VLCMain sharedInstance] activeVideoPlayback])
[o_bottombar_view setHidden: YES]; [o_bottombar_view setHidden: YES];
[self setMovableByWindowBackground: NO];
} }
- (void)windowWillExitFullScreen:(NSNotification *)notification - (void)windowWillExitFullScreen:(NSNotification *)notification
...@@ -2159,6 +2161,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -2159,6 +2161,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
if ([[VLCMain sharedInstance] activeVideoPlayback]) if ([[VLCMain sharedInstance] activeVideoPlayback])
[o_bottombar_view setHidden: NO]; [o_bottombar_view setHidden: NO];
[self setMovableByWindowBackground: YES];
} }
#pragma mark - #pragma mark -
......
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