summaryrefslogtreecommitdiffstats
path: root/options
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
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')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 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,
diff --git a/options/options.h b/options/options.h
index 4482b0f824..75884a290c 100644
--- a/options/options.h
+++ b/options/options.h
@@ -40,6 +40,7 @@ typedef struct mp_vo_opts {
int keepaspect;
int keepaspect_window;
int hidpi_window_scale;
+ int native_fs;
int64_t WinID;