XSetWMHints
Syntax
XSetWMHints(display, w, wmhints)
Display *display;
Window w;
XWMHints *wmhints;
Arguments
display
| Specifies the connection to the X server.
|
w
| Specifies the window.
|
wmhints
| Specifies the
XWMHints
structure to be used.
|
Description
The
XSetWMHints()
function sets the window manager hints that include icon information and location,
the initial state of the window, and whether the application relies on the
window manager to get keyboard input.
XSetWMHints()
can generate
BadAlloc
and
BadWindow
errors.
Diagnostics
BadAlloc
| The server failed to allocate the requested
source or server memory.
|
BadWindow
| A value for a Window argument does not name a defined Window.
|
See also
XAllocClassHint(),
XAllocIconSize(),
XAllocSizeHints(),
XAllocWMHints(),
XFree(),
XGetWMHints(),
XSetCommand(),
XSetTextProperty(),
XSetTransientForHint(),
XSetWMClientMachine(),
XSetWMColormapWindows(),
XSetWMIconName(),
XSetWMName(),
XSetWMProperties(),
XSetWMProtocols(),
XStringListToTextProperty(),
"
Setting and Reading the WM_HINTS Property".
Christophe Tronche, [email protected]