XSetWMName fails to set the window title
jon.kristensen at dedikerad.se
Tue Jun 12 18:39:05 PDT 2007
tis 2007-06-12 klockan 21:47 +0200 skrev Edgar Toernig:
> Jon Kristensen wrote:
> > I want to set the window title, and below follows how I try to do it. I
> > know that the window handle unsigned long is correct, becuase I've
> > converted the number to hex and compared it to the output of `xwininfo'.
> > I get no errors, the window title just doesn't get set.
> Did you XFlush the output buffer? Try inserting an XFlush, XSync or
> an XCloseDisplay after the XSetWMName.
You are my hero - XFlush did it! :-) It makes me crazy that after three
days of posting questions everywhere, and after five or so tutorials, no
one told me that XFlush could be the solution.
Thank you so much!
> Ciao, ET.
> xorg mailing list
> xorg at lists.freedesktop.org
More information about the xorg