[vlc-commits] macosx: fixed inconsistant fullscreen button state in the detached video window

Felix Paul Kühne git at videolan.org
Sun Apr 1 16:29:32 CEST 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr  1 16:25:08 2012 +0200| [fc12b383df73661cab33c993af0c114f13c96576] | committer: Felix Paul Kühne

macosx: fixed inconsistant fullscreen button state in the detached video window
(cherry picked from commit a8fad6766cbc27471f494a5e176112f40516054a)

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 98128a9..fbf6e0b 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1563,6 +1563,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     screen_rect = [screen frame];
 
     [o_fullscreen_btn setState: YES];
+    [o_detached_fullscreen_btn setState: YES];
 
     [self recreateHideMouseTimer];
 
@@ -1736,6 +1737,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
     b_fullscreen = NO;
     [o_fullscreen_btn setState: NO];
+    [o_detached_fullscreen_btn setState: NO];
 
     /* We always try to do so */
     [NSScreen unblackoutScreens];



More information about the vlc-commits mailing list