[vlc-commits] macosx: make sure that the http interface (and other clients) can toggle the fullscreen mode when using VLC's fullscreen implementation (close #6009)

Felix Paul Kühne git at videolan.org
Mon Mar 19 20:48:27 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 19 20:47:58 2012 +0100| [2a2bb7af2abb8d060d0cd8b79528655d76463c87] | committer: Felix Paul Kühne

macosx: make sure that the http interface (and other clients) can toggle the fullscreen mode when using VLC's fullscreen implementation (close #6009)

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

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

diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 3c483fc..39d17a6 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -31,6 +31,7 @@
 #import "misc.h"
 #import "playlist.h"
 #import "controls.h"
+#import "CoreInteraction.h"
 #import <vlc_url.h>
 
 /*****************************************************************************
@@ -369,6 +370,11 @@ static NSMutableArray *blackoutWindows = NULL;
     return b_isFullscreen;
 }
 
+- (IBAction)fullscreen:(id)sender
+{
+    [[VLCCoreInteraction sharedInstance] toggleFullscreen];
+}
+
 @end
 
 /*****************************************************************************



More information about the vlc-commits mailing list