summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-01-20 13:25:46 -0600
committerDudemanguy <random342@airmail.cc>2022-01-24 15:07:00 +0000
commite809ef04415c137702a45a9335e4c3591f461b8b (patch)
tree9e5d4624ea4eb0c7806a15cab031fdd8d8e271dc /wscript
parent5b16fe41346ba129b5f2bbe0288a466ffac14d0a (diff)
downloadmpv-e809ef04415c137702a45a9335e4c3591f461b8b.tar.bz2
mpv-e809ef04415c137702a45a9335e4c3591f461b8b.tar.xz
x11: sanitize window title to UTF-8 for EWMH
Both _NET_WM_NAME and _NET_WM_ICON_NAME (part of Extended Window Manager Hints) require that the string is UTF-8*. mpv was not doing this and thus violating the spec. Just sanitize the title for these two atoms. Note that XA_WM_NAME and XA_WM_ICON_NAME have no such requirement so those atoms are left the same. Fixes #8812. *: https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions