[Xcb] [PATCH:xwininfo 0/2] Handle UTF8 window names & EMWH hints

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jun 29 23:04:32 PDT 2010

Further updates for the xcb-ified xwininfo.  Non Latin-1 WM_NAMES are
handled via UTF-8 strings _NET_WM_NAME and assuming that COMPOUND_TEXT
should be left to rot.  And once started down the EMWH path, I picked
a few more properties to show in the -wm section that seemed interesting.

Assumes that iconv() is present, since it's required by Unix98, and that
iconv from UTF-8 to nl_langinfo(codeset) will work for printing UTF8_STRING

I've also made a git repo with the previous patches (slightly updated
and squashed), plus these patches at:

Alan Coopersmith (2):
  Handle non-latin-1 window names
  Add some EWMH hints to the -wm output

 clientwin.c |   33 ++----
 dsimple.c   |  196 ++++++++++++++++++++++++++++-----
 dsimple.h   |   10 +-
 xwininfo.c  |  362 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 519 insertions(+), 82 deletions(-)

More information about the Xcb mailing list