ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.13k stars 174 forks source link

X11: WM_NAME is incorrectly set as UTF-8 and not UTF8_STRING #10854

Open FascinatedBox opened 1 week ago

FascinatedBox commented 1 week ago

Your system information

Please describe your issue in as much detail as possible:

Using xprop on Steam shows, among other properties, the following:

_NET_WM_NAME(UTF8_STRING) = "Steam"
WM_NAME(UTF-8) = "Steam"

The first property, _NET_WM_NAME, is fine. However, the latter uses UTF-8 instead of UTF8_STRING. As a result, Xlib's Xutf8TextListToTextProperty returns -3 (XConverterNotFound). This is despite WM_LOCALE_NAME being set to "en_US.UTF-8".

https://github.com/jordansissel/xdotool/issues/456