At least some desktop tools (non-mainstream) are in trouble with tabbed window 
name.
At the moment of try I have only tint2 and rofi. First just showes intitled, but
second - "Invalid encoding". Though xfwm4 has no problem with compound text 
names.
---
 tabbed.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tabbed.c b/tabbed.c
index af207c8..4ee4277 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1296,8 +1296,8 @@ xsettitle(Window w, const char *str)
 {
        XTextProperty xtp;
 
-       if (XmbTextListToTextProperty(dpy, (char **)&str, 1,
-           XCompoundTextStyle, &xtp) == Success) {
+       if (Xutf8TextListToTextProperty(dpy, (char **)&str, 1,
+           XUTF8StringStyle, &xtp) == Success) {
                XSetTextProperty(dpy, w, &xtp, wmatom[WMName]);
                XSetTextProperty(dpy, w, &xtp, XA_WM_NAME);
                XFree(xtp.value);
-- 
2.26.2


Reply via email to