summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/mpvadapter.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2016-12-04 22:52:14 +0100
committerAkemi <der.richter@gmx.de>2016-12-15 20:55:16 +0100
commita8347eb9ba9e09177da50592fde7f3ae7261ce59 (patch)
treee84d02a7642560b586df4352798d21075feb04f4 /video/out/cocoa/mpvadapter.h
parent870a6a11d99d67e5fcf1a1cb28c3de3167494470 (diff)
downloadmpv-a8347eb9ba9e09177da50592fde7f3ae7261ce59.tar.bz2
mpv-a8347eb9ba9e09177da50592fde7f3ae7261ce59.tar.xz
cocoa: fullscreen refactoring
this replaces the old fullscreen with the native macOS fullscreen. additional the --fs-black-out-screens was removed since the new API doesn't support it in a way the old one did. it can possibly be re-added if done manually. Fixes #2857 #3272 #1352 #2062 #3864
Diffstat (limited to 'video/out/cocoa/mpvadapter.h')
-rw-r--r--video/out/cocoa/mpvadapter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/cocoa/mpvadapter.h b/video/out/cocoa/mpvadapter.h
index 5b87e89d04..e547708e17 100644
--- a/video/out/cocoa/mpvadapter.h
+++ b/video/out/cocoa/mpvadapter.h
@@ -26,14 +26,14 @@
- (void)putAxis:(int)mpkey delta:(float)delta;
- (void)putCommand:(char*)cmd;
- (void)handleFilesArray:(NSArray *)files;
-- (void)didChangeWindowedScreenProfile:(NSScreen *)screen;
+- (void)didChangeWindowedScreenProfile:(NSNotification *)notification;
- (void)performAsyncResize:(NSSize)size;
- (void)didChangeMousePosition;
- (BOOL)isInFullScreenMode;
- (BOOL)keyboardEnabled;
- (BOOL)mouseEnabled;
-- (NSScreen *)fsScreen;
-- (BOOL)fsModeAllScreens;
+
+- (NSScreen *)getTargetScreen;
@property(nonatomic, assign) struct vo *vout;
@end