[vlc-commits] macosx: minor appearance fixes

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


vlc/vlc-1.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Dec 28 01:29:06 2011 +0100| [4f2d0cf24358bb5aef60dd633313b41752fbd606] | committer: Jean-Baptiste Kempf

macosx: minor appearance fixes
(cherry picked from commit dae3915c0e9e63cfd9e7483ef44b7febfc2e8414)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 e9c3b80..40920c8 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