[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
Tue Mar 20 00:43:43 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 19 20:47:58 2012 +0100| [594e5cd3b76fff2b058e5762b628151583e27310] | 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)
(cherry picked from commit 2a2bb7af2abb8d060d0cd8b79528655d76463c87)

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

 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