diff options
author | wm4 <wm4@nowhere> | 2019-11-29 13:49:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-29 13:56:58 +0100 |
commit | 40c2f2eeb05f83176d325d4efd7a2e1635447f04 (patch) | |
tree | 8cd822c02ba57aac71b4e7891990f64d739cf9d6 /options/options.c | |
parent | d37e461eab16f990751d3ab9a459cad600e3b510 (diff) | |
download | mpv-40c2f2eeb05f83176d325d4efd7a2e1635447f04.tar.bz2 mpv-40c2f2eeb05f83176d325d4efd7a2e1635447f04.tar.xz |
command: change window-minimized/window-maximized to options
Unfortunately, this breaks window state reporting for all VOs which
supported it. This can be fixed later (for x11 in the next commit).
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index ee226843c2..7cb750d81b 100644 --- a/options/options.c +++ b/options/options.c @@ -119,6 +119,8 @@ static const m_option_t mp_vo_opt_list[] = { OPT_SIZE_BOX("autofit-larger", autofit_larger, 0), OPT_SIZE_BOX("autofit-smaller", autofit_smaller, 0), OPT_DOUBLE("window-scale", window_scale, CONF_RANGE, .min = 0.001, .max = 100), + OPT_FLAG("window-minimized", window_minimized, 0), + OPT_FLAG("window-maximized", window_maximized, 0), OPT_FLAG("force-window-position", force_window_position, 0), OPT_STRING("x11-name", winname, 0), OPT_FLOATRANGE("monitoraspect", force_monitor_aspect, 0, 0.0, 9.0), |