From: David Fuhrmann Date: Fri, 20 Apr 2012 20:41:01 +0000 (+0200) Subject: macosx: make sure that window is not movable in lion fullscreen mode X-Git-Tag: 2.1.0-git~4595 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2f6670cc6507ad451c4b1f5046d9b2d0ccd12d9d;p=vlc macosx: make sure that window is not movable in lion fullscreen mode this is needed especially for black ui style --- diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index b1ebe9ad26..4c3609d3ed 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -2119,6 +2119,8 @@ static VLCMainWindow *_o_sharedInstance = nil; if ([[VLCMain sharedInstance] activeVideoPlayback]) [o_bottombar_view setHidden: YES]; + + [self setMovableByWindowBackground: NO]; } - (void)windowWillExitFullScreen:(NSNotification *)notification @@ -2159,6 +2161,8 @@ static VLCMainWindow *_o_sharedInstance = nil; if ([[VLCMain sharedInstance] activeVideoPlayback]) [o_bottombar_view setHidden: NO]; + + [self setMovableByWindowBackground: YES]; } #pragma mark -