summaryrefslogtreecommitdiff
path: root/src/x11/window-props.c
diff options
context:
space:
mode:
authorAkira Nakajima <argebam2a@yahoo.co.jp>2018-10-11 07:15:22 +0000
committerJonas Ã…dahl <jadahl@gmail.com>2018-10-11 07:15:22 +0000
commitd387aa428a18393938c6d6f7baef2c1dd726436e (patch)
treec822093415c20cab26fe61f0e0ee0807b6738a7f /src/x11/window-props.c
parent3faaa9ce147ba4c3bd9d90a20ac86ce9c9680c9b (diff)
downloadmutter-d387aa428a18393938c6d6f7baef2c1dd726436e.tar.gz
Characters of window title bar garbled
Diffstat (limited to 'src/x11/window-props.c')
-rw-r--r--src/x11/window-props.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/x11/window-props.c b/src/x11/window-props.c
index d06a89a21..d165c2cd2 100644
--- a/src/x11/window-props.c
+++ b/src/x11/window-props.c
@@ -651,10 +651,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);