XReparentWindow(3X) — X Version 11
NAME
XReparentWindow − reparent windows
SYNTAX
XReparentWindow(display, w, parent, x, y)
Display ∗display;
Window w;
Window parent;
int x, y;
ARGUMENTS
displaySpecifies the connection to the X server.
parentSpecifies the parent window ID.
wSpecifies the window ID.
x
ySpecify the x and y coordinates of the position in the new parent window of the specified window.
DESCRIPTION
The XReparentWindow function reparents the specified window by inserting it as the child of the specified parent. .PN XReparentWindow can generate BadMatch and BadWindow errors.
DIAGNOSTICS
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO
XChangeSaveSet(3X)
Xlib − C Language X Interface
1 March 1988