diff --git a/src/x11/window-props.c b/src/x11/window-props.c index 2f4dfeb31..7c6b25fdb 100644 --- a/src/x11/window-props.c +++ b/src/x11/window-props.c @@ -645,10 +645,7 @@ reload_wm_name (MetaWindow *window, if (value->type != META_PROP_VALUE_INVALID) { - g_autofree gchar *title = g_convert (value->v.str, -1, - "UTF-8", "LATIN1", - NULL, NULL, NULL); - set_window_title (window, title); + set_window_title (window, value->v.str); meta_verbose ("Using WM_NAME for new title of %s: \"%s\"\n", window->desc, window->title);