summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
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;