[vlc-commits] macosx: minor appearance fixes

Felix Paul Kühne git at videolan.org
Wed Dec 28 01:29:19 CET 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Dec 28 01:29:06 2011 +0100| [dae3915c0e9e63cfd9e7483ef44b7febfc2e8414] | committer: Felix Paul Kühne

macosx: minor appearance fixes

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index e1853b8..5e4a067 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -408,6 +408,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
         winrect.size.height = winrect.size.height - f_titleBarHeight;
         [o_split_view setFrame: winrect];
         [o_video_view setFrame: winrect];
+        previousSavedFrame = winrect;
 
         [self display];
     }
diff --git a/modules/gui/macosx/MainWindowTitle.m b/modules/gui/macosx/MainWindowTitle.m
index 7753e80..dbd033b 100644
--- a/modules/gui/macosx/MainWindowTitle.m
+++ b/modules/gui/macosx/MainWindowTitle.m
@@ -79,6 +79,9 @@
         [[VLCCoreInteraction sharedInstance] toggleFullscreen];
     else
         msg_Err( VLCIntf, "unknown button action sender" );
+
+    [self setWindowButtonOver: NO];
+    [self setWindowFullscreenButtonOver: NO];
 }
 
 - (void)setWindowTitle:(NSString *)title



More information about the vlc-commits mailing list