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

David Fuhrmann git at videolan.org
Sat Apr 21 19:29:34 CEST 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Apr 20 22:41:01 2012 +0200| [502aba9626535bd48ea019b1f434d687f147f073] | committer: David Fuhrmann

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

this is needed especially for black ui style
(cherry picked from commit 2f6670cc6507ad451c4b1f5046d9b2d0ccd12d9d)

Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=502aba9626535bd48ea019b1f434d687f147f073
---

 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 81f1170..abbafd5 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