From 08848e76d9219a097b8ca4d493ab1df7eb693162 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Mon, 23 Nov 2020 13:26:57 -0600 Subject: player: add --screen-name and --fs-screen-name Simple groundwork for adding a couple of user options that allow selecting the screen with a string name. The next two commits implements these options for xorg and wayland. --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index a11c1114b9..8aadc87ab9 100644 --- a/options/options.c +++ b/options/options.c @@ -147,8 +147,10 @@ static const m_option_t mp_vo_opt_list[] = { {"no", 0}, {"yes", 1}, {"downscale-big", 2})}, {"wid", OPT_INT64(WinID)}, {"screen", OPT_CHOICE(screen_id, {"default", -1}), M_RANGE(0, 32)}, + {"screen-name", OPT_STRING(screen_name)}, {"fs-screen", OPT_CHOICE(fsscreen_id, {"all", -2}, {"current", -1}), M_RANGE(0, 32)}, + {"fs-screen-name", OPT_STRING(fsscreen_name)}, {"keepaspect", OPT_FLAG(keepaspect)}, {"keepaspect-window", OPT_FLAG(keepaspect_window)}, {"hidpi-window-scale", OPT_FLAG(hidpi_window_scale)}, -- cgit v1.2.3