Commit 594e5cd3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure that the http interface (and other clients) can toggle the...

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 2a2bb7af)
parent 6b95aa05
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#import "misc.h" #import "misc.h"
#import "playlist.h" #import "playlist.h"
#import "controls.h" #import "controls.h"
#import "CoreInteraction.h"
#import <vlc_url.h> #import <vlc_url.h>
/***************************************************************************** /*****************************************************************************
...@@ -369,6 +370,11 @@ static NSMutableArray *blackoutWindows = NULL; ...@@ -369,6 +370,11 @@ static NSMutableArray *blackoutWindows = NULL;
return b_isFullscreen; return b_isFullscreen;
} }
- (IBAction)fullscreen:(id)sender
{
[[VLCCoreInteraction sharedInstance] toggleFullscreen];
}
@end @end
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment