After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 67400 - _NET_DESKTOP_NAMES should be UTF8_STRING, not STRING
_NET_DESKTOP_NAMES should be UTF8_STRING, not STRING
Status: RESOLVED FIXED
Product: Sawfish
Classification: Deprecated
Component: Window Manager
pre-1.3.x
Other other
: Normal normal
: 1.5.x
Assigned To: John Harper
John Harper
Depends on:
Blocks:
 
 
Reported: 2001-12-22 02:51 UTC by Gregory Merchan
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gregory Merchan 2001-12-22 02:51:36 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.)
Comment 1 John Harper 2002-04-23 06:45:11 UTC
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..