XGetWMName

Syntax

Status XGetWMName(display, w, text_prop_return)
      Display *display;
      Window w;
      XTextProperty *text_prop_return;

Arguments

display Specifies the connection to the X server.
w Specifies the window.
text_prop_return Returns the .PN XTextProperty structure.

Description

The XGetWMName() convenience function calls XGetTextProperty() to obtain the WM_NAME property. It returns a nonzero status on success; otherwise, it returns a zero status.

See also

XAllocClassHint(), XAllocIconSize(), XAllocSizeHints(), XAllocWMHints(), XFetchName(), XFree(), XSetCommand(), XSetTextProperty(), XSetTransientForHint(), XSetWMClientMachine(), XSetWMColormapWindows(), XSetWMColormapWindows(), XSetWMIconName(), XSetWMIconName(), XSetWMName(), XSetWMProperties(), XSetWMProtocols(), XStoreName(), XStringListToTextProperty(), "Setting and Reading Text Properties".
Christophe Tronche, ch@tronche.com