[vlc-commits] macosx: make sure that the fullscreen controller is always available when playing a video in lion 's fullscreen mode

Felix Paul Kühne git at videolan.org
Sun Jan 22 05:52:39 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan 21 20:50:52 2012 -0800| [a91121012e8cc73be977bf53f7003c0310768cc3] | committer: Felix Paul Kühne

macosx: make sure that the fullscreen controller is always available when playing a video in lion's fullscreen mode

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 1db880e..ab273f0 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1770,6 +1770,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     [o_video_view setFrame: [[self contentView] frame]];
     b_fullscreen = YES;
     [o_fspanel setVoutWasUpdated: (int)[[self screen] displayID]];
+    [o_fspanel setActive: nil];
 
     [self recreateHideMouseTimer];
 
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index a53d400..a793bf5 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1359,8 +1359,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
                 [o_mainwindow performSelectorOnMainThread:@selector(enterFullscreen) withObject:nil waitUntilDone:NO];
                 vlc_object_release( p_input );
             }
-        } 
-        else 
+        }
+        else
         {
             // leaving fullscreen is always allowed
             [o_mainwindow performSelectorOnMainThread:@selector(leaveFullscreen) withObject:nil waitUntilDone:NO];



More information about the vlc-commits mailing list