Function xcb::xproto::reparent_window [−][src]
pub fn reparent_window<'a>(
c: &'a Connection,
window: Window,
parent: Window,
x: i16,
y: i16
) -> VoidCookie<'a>
Reparents a window
Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting, a ReparentNotify event is generated.
parameters:
-
c: The connection object to the server
-
window: The window to reparent.
-
parent: The new parent of the window.
-
x: The X position of the window within its new parent.
-
y: The Y position of the window within its new parent.