From a1c6762156a2e4f2f8c538a56bf2f8bbb0417b2b Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sat, 26 Jun 2021 17:19:45 -0500 Subject: wayland: handle app id option less stupidly Not sure what I was on when I wrote this. wayland-app-id is supposed to default to "mpv". Just set that in the vo_sub_opts and don't do this weird m_config_cache_write_opt thing. Also make the doc entry nicer. --- video/out/wayland_common.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'video/out') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 1b7eb5246b..1cc41e648f 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1480,10 +1480,6 @@ static void update_app_id(struct vo_wayland_state *wl) { if (!wl->xdg_toplevel) return; - if (!wl->vo_opts->appid) { - wl->vo_opts->appid = talloc_strdup(wl->vo_opts, "mpv"); - m_config_cache_write_opt(wl->vo_opts_cache, &wl->vo_opts->appid); - } xdg_toplevel_set_app_id(wl->xdg_toplevel, wl->vo_opts->appid); } -- cgit v1.2.3