XSetWMName fails to set the window title

Edgar Toernig froese at gmx.de
Tue Jun 12 12:47:52 PDT 2007

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.

Ciao, ET.

More information about the xorg mailing list