XSetTransientForHint(3X11)
Name
XSetTransientForHint, XGetTransientForHint − set or get transient for hint
Syntax
XSetTransientForHint(display, w, prop_window)
Display *display;
Window w;
Window prop_window;
Status XGetTransientForHint(display, w, prop_window_return)
Display *display;
Window w;
Window *prop_window_return;
Arguments
displaySpecifies the connection to the X server.
wSpecifies the window.
prop_windowSpecifies the window that the WM_TRANSIENT_FOR property is to be set to.
prop_window_return
Returns the WM_TRANSIENT_FOR property of the specified window.
Description
The XSetTransientForHint function sets the WM_TRANSIENT_FOR property of the specified window to the specified prop_window.
XSetTransientForHint can generate BadAlloc and BadWindow errors.
The XGetTransientForHint function returns the WM_TRANSIENT_FOR property for the specified window.
XGetTransientForHint can generate a BadWindow error.
Property
WM_TRANSIENT_FOR
Diagnostics
BadAlloc The server failed to allocate the requested resource or server memory.
BadWindow
A value for a Window argument does not name a defined Window.
See Also
XSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetWMHints(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
Subroutines