[Xcb] EWMH: WM_NAME Fallback

Michael Stapelberg michael+xcb at stapelberg.de
Sun Sep 9 09:42:41 PDT 2012


Hi Julien, Bastien,

Julien Danjou <julien at danjou.info> writes:
> IIRC WM_NAME is part of ICCCM, not EWMH. And the point of this function
> is not to get the window name by any mean, it just provides a EWMH
> access to the name.
>
> It's up to you to use the `xcb_icccm_' function to get WM_NAME.
In addition, WM_NAME is not encoded in UTF-8 (like _NET_WM_NAME), but in
X11’s COMPOUND_TEXT! If possible, it should be entirely avoided, and you
probably would need an extra code path for it anyways.

-- 
Best regards,
Michael


More information about the Xcb mailing list