summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-08-09 21:11:53 -0500
committerDudemanguy <random342@airmail.cc>2023-08-13 19:58:20 +0000
commit4a6abff812aec8666ede396072798130b2683c9f (patch)
tree85eb1de671dfebe1d81ee6fb4691c75877742298 /options/options.h
parente8a77e5279c2682a1554ba8fd47b99c6bf6f4d52 (diff)
downloadmpv-4a6abff812aec8666ede396072798130b2683c9f.tar.bz2
mpv-4a6abff812aec8666ede396072798130b2683c9f.tar.xz
x11: add --x11-wid-title option
This deliberately wasn't being done when mpv was embedded (fbccddb48b4c71c18300b092ef7a3860be2a659a). There are some applications that would benefit from mpv setting a title since they don't do so themselves (such as tabbed), but at the same time some others would probably rather not have this behavior (like smplayer). Add an option that allows an embedded mpv to set the title if the user wishes. Fixes #11528.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index d635901202..fac88dd939 100644
--- a/options/options.h
+++ b/options/options.h
@@ -32,6 +32,7 @@ typedef struct mp_vo_opts {
int x11_netwm;
int x11_bypass_compositor;
int x11_present;
+ bool x11_wid_title;
bool cursor_passthrough;
bool native_keyrepeat;