summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-07-27 21:28:33 +0200
committerAkemi <der.richter@gmx.de>2017-08-06 22:48:26 +0200
commitf550fdaa91293fa1dd125b5743728c1d387d21c4 (patch)
tree5c506fbb24dc5421abf5f983019c98bcacd68e34 /options/options.c
parent2b83f7e391ab68b23602e89b97ebc07ca09d8e7c (diff)
downloadmpv-f550fdaa91293fa1dd125b5743728c1d387d21c4.tar.bz2
mpv-f550fdaa91293fa1dd125b5743728c1d387d21c4.tar.xz
cocoa: add an option to disable the native macOS fullscreen
Fixes #4014
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 7d299a9aa7..b07c576d4f 100644
--- a/options/options.c
+++ b/options/options.c
@@ -162,6 +162,7 @@ static const m_option_t mp_vo_opt_list[] = {
OPT_FLAG("keepaspect", keepaspect, UPDATE_VIDEOPOS),
OPT_FLAG("keepaspect-window", keepaspect_window, 0),
OPT_FLAG("hidpi-window-scale", hidpi_window_scale, 0),
+ OPT_FLAG("native-fs", native_fs, 0),
#if HAVE_X11
OPT_CHOICE("x11-netwm", x11_netwm, 0,
({"auto", 0}, {"no", -1}, {"yes", 1})),
@@ -196,6 +197,7 @@ const struct m_sub_options vo_sub_opts = {
.keepaspect = 1,
.keepaspect_window = 1,
.hidpi_window_scale = 1,
+ .native_fs = 1,
.taskbar_progress = 1,
.snap_window = 0,
.border = 1,