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.
This commit is contained in:
Dudemanguy 2024-02-26 10:48:51 -06:00
parent bd1bcc1f31
commit dc9da5d463
1 changed files with 4 additions and 4 deletions

View File

@ -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)},