mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00

The WM_NAME property is of type TEXT_PROPERTY, which is supposed to be returned as UTF-8. Commit840378ae68
broke that assumption, resulting in crashes with non-UTF8 locales; however the "fix" of converting from LATIN1 to UTF8 is wrong as well, as the conversion will spit out garbage when the input encoding isn't actually LATIN1. Now that the original issue in text_property_to_utf8() has been fixed, we can simply revert the relevant bits of commitd62491f46e
. https://gitlab.gnome.org/GNOME/mutter/merge_requests/227