[vlc-commits] macosx: make sure that window is not movable in lion fullscreen mode

David Fuhrmann git at videolan.org
Fri Apr 20 22:58:29 CEST 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Apr 20 22:41:01 2012 +0200| [2f6670cc6507ad451c4b1f5046d9b2d0ccd12d9d] | committer: David Fuhrmann

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

this is needed especially for black ui style

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f6670cc6507ad451c4b1f5046d9b2d0ccd12d9d
---

 modules/gui/macosx/MainWindow.m |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index b1ebe9a..4c3609d 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 -



More information about the vlc-commits mailing list