summaryrefslogtreecommitdiffstats
path: root/options
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 /options
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 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 08037b42fe..76fabca256 100644
--- a/options/options.c
+++ b/options/options.c
@@ -182,7 +182,6 @@ static const m_option_t mp_vo_opt_list[] = {
({"default", -1})),
OPT_CHOICE_OR_INT("fs-screen", fsscreen_id, 0, 0, 32,
({"all", -2}, {"current", -1})),
- OPT_FLAG("fs-black-out-screens", fs_black_out_screens, 0),
OPT_FLAG("keepaspect", keepaspect, UPDATE_VIDEOPOS),
OPT_FLAG("keepaspect-window", keepaspect_window, 0),
OPT_FLAG("hidpi-window-scale", hidpi_window_scale, 0),
@@ -796,6 +795,7 @@ const m_option_t mp_opts[] = {
OPT_REPLACED("ass-shaper", "sub-ass-shaper"),
OPT_REPLACED("ass-style-override", "sub-ass-style-override"),
OPT_REPLACED("ass-scale-with-window", "sub-ass-scale-with-window"),
+ OPT_REMOVED("fs-black-out-screens", NULL),
{0}
};
diff --git a/options/options.h b/options/options.h
index fa2a96c3b2..fc37e98f8a 100644
--- a/options/options.h
+++ b/options/options.h
@@ -18,7 +18,6 @@ typedef struct mp_vo_opts {
int screen_id;
int fsscreen_id;
- int fs_black_out_screens;
char *winname;
int x11_netwm;
int x11_bypass_compositor;