XSetWMName
Owen Taylor
otaylor at redhat.com
Sat Sep 17 15:45:37 PDT 2005
On Sat, 2005-09-17 at 19:38 +1000, Russell Shaw wrote:
> Hi,
> The ICCCM is a bit unclear on what text encodings to use,
> such as for XSetWMName().
>
> http://www.x.org/X11R6.8.1/docs/ICCCM/icccm.pdf
>
> void XSetWMName(display, w, text_prop)
> Display *display;
> Window w;
> XTextProperty *text_prop;
>
> http://tronche.com/gui/x/xlib/ICC/client-to-window-manager/XSetWMName.html
>
> ICCCM 4.1.2.1 says it is an "uninterpreted" string. Does this mean it should
> be sent to the X server as 8-bit english ascii, or 32-bit unicode?
Maybe read the next paragraph?
The encoding used for this string (and all other uninterpreted string
properties)is implied by the type of the property. The type atoms to be
used for this purpose are described in section 2.7.1.
And 2.7.1 in fact defines STRING and COMPOUND_TEXT.
Regards,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20050917/39d75d9c/attachment-0001.pgp>
More information about the xorg
mailing list