]> git.sesse.net Git - vlc/commitdiff
macosx: make sure that window is not movable in lion fullscreen mode
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 20 Apr 2012 20:41:01 +0000 (22:41 +0200)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 20 Apr 2012 20:57:56 +0000 (22:57 +0200)
this is needed especially for black ui style

modules/gui/macosx/MainWindow.m

index b1ebe9ad2601fe12e212063f45888e3b643e7341..4c3609d3ed2a4ae274f3ad76b6a16d6e5ede4580 100644 (file)
@@ -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 -