GNOME Bugzilla – Bug 67400
_NET_DESKTOP_NAMES should be UTF8_STRING, not STRING
Last modified: 2009-08-16 15:13:28 UTC
In lisp/sawfish/wm/state/wm-spec.jl ;; _NET_DESKTOP_NAMES (unless (equal last-workspace-names workspace-names) (setq last-workspace-names workspace-names) (set-x-text-property 'root '_NET_DESKTOP_NAMES (apply vector workspace-names))) Assuming my rep is correct, this should be: ;; _NET_DESKTOP_NAMES (unless (equal last-workspace-names workspace-names) (setq last-workspace-names workspace-names) (set-x-property 'root '_NET_DESKTOP_NAMES (apply vector workspace-names) 'UTF8_STRING 8)) According to: http://www.freedesktop.org/standards/wm-spec/x104.html (Which for some reason shows the atom name at UTF-8_STRING ; I don't see the hyphenated from used anywhere.)
sorry, your lisp is wrong (text properties are encoded as the strings concatenated together separated by NULs, a vector of strings doesn't work) I changed set-x-text-property to take an optional encoding parameter and used that..