summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-02-26 10:48:51 -0600
committerDudemanguy <random342@airmail.cc>2024-04-18 17:40:16 +0000
commitdc9da5d46367ab4ffd430a0afd92f9533c69494f (patch)
treef3d22fb9ea5fb9789c09dfbb304937a0027f1ccf /options/options.c
parentbd1bcc1f31dcf614f4b53234a62dc6b6d0b25480 (diff)
downloadmpv-dc9da5d46367ab4ffd430a0afd92f9533c69494f.tar.bz2
mpv-dc9da5d46367ab4ffd430a0afd92f9533c69494f.tar.xz
options: flag geometry/autofit options with force_update
Same reasoning as window-scale. This still requires that the windowing backend correctly reacts to the notification.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/options/options.c b/options/options.c
index 8757ceeeff..8233b1a17f 100644
--- a/options/options.c
+++ b/options/options.c
@@ -123,10 +123,10 @@ static const m_option_t mp_vo_opt_list[] = {
{"border", OPT_BOOL(border)},
{"title-bar", OPT_BOOL(title_bar)},
{"on-all-workspaces", OPT_BOOL(all_workspaces)},
- {"geometry", OPT_GEOMETRY(geometry)},
- {"autofit", OPT_SIZE_BOX(autofit)},
- {"autofit-larger", OPT_SIZE_BOX(autofit_larger)},
- {"autofit-smaller", OPT_SIZE_BOX(autofit_smaller)},
+ {"geometry", OPT_GEOMETRY(geometry), .force_update = true},
+ {"autofit", OPT_SIZE_BOX(autofit), .force_update = true},
+ {"autofit-larger", OPT_SIZE_BOX(autofit_larger), .force_update = true},
+ {"autofit-smaller", OPT_SIZE_BOX(autofit_smaller), .force_update = true},
{"auto-window-resize", OPT_BOOL(auto_window_resize)},
{"window-scale", OPT_DOUBLE(window_scale), M_RANGE(0.001, 100), .force_update = true},
{"window-minimized", OPT_BOOL(window_minimized)},