Skip to content
  • Florian Müllner's avatar
    x11/window-props: Do not convert WM_NAME · 62775d19
    Florian Müllner authored and Jonas Ådahl's avatar Jonas Ådahl committed
    The WM_NAME property is of type TEXT_PROPERTY, which is supposed to be
    returned as UTF-8. Commit 840378ae 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 commit d62491f4.
    
    GNOME/mutter!227
    62775d19