diff options
author | Dudemanguy <random342@airmail.cc> | 2020-08-12 09:51:51 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-08-14 13:02:01 +0000 |
commit | 9bce2367142c266c1a1512494a03495583964c32 (patch) | |
tree | ce23d5e25d5a9485a558c4dcaff038f6d6c2b81d /options/options.c | |
parent | 4b5ead0834deaf2896c39952daf2e622a5959b4f (diff) | |
download | mpv-9bce2367142c266c1a1512494a03495583964c32.tar.bz2 mpv-9bce2367142c266c1a1512494a03495583964c32.tar.xz |
wayland: expose wayland-app-id as a user option
This is extremely similar to x11's WM_CLASS. This commit allows users to
set mpv's app-id at runtime for any of the wayland backends.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 1e104e886f..6e22de0a07 100644 --- a/options/options.c +++ b/options/options.c @@ -124,6 +124,7 @@ static const m_option_t mp_vo_opt_list[] = { {"window-maximized", OPT_FLAG(window_maximized)}, {"force-window-position", OPT_FLAG(force_window_position)}, {"x11-name", OPT_STRING(winname)}, + {"wayland-app-id", OPT_STRING(appid)}, {"monitoraspect", OPT_FLOAT(force_monitor_aspect), M_RANGE(0.0, 9.0)}, {"monitorpixelaspect", OPT_FLOAT(monitor_pixel_aspect), M_RANGE(1.0/32.0, 32.0)}, |