XSetTransientForHint(3X11) — X Version 11 (1 September 1988)
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.
.PN XSetTransientForHint can generate BadAlloc and BadWindow errors.
The XGetTransientForHint function returns the WM_TRANSIENT_FOR property for the specified window.
.PN 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)
Xlib − C Language X Interface
September 29, 2021