|
|
@@ -1188,6 +1188,15 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
|
|
|
if (XStringListToTextProperty((char **)&name, 1, &window_name) != 0) {
|
|
|
window_name_p = &window_name;
|
|
|
}
|
|
|
+
|
|
|
+#ifdef X_HAVE_UTF8_STRING
|
|
|
+ XTextProperty wm_name;
|
|
|
+ if (Xutf8TextListToTextProperty(_display, (char **)&name, 1,
|
|
|
+ XUTF8StringStyle, &wm_name) == Success) {
|
|
|
+ XSetTextProperty(_display, _xwindow, &wm_name, x11_pipe->_net_wm_name);
|
|
|
+ XFree(wm_name.value);
|
|
|
+ }
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
// The size hints request a window of a particular size andor a particular
|