[−][src]Function clipboard_x11::reparent_window
pub fn reparent_window(
c: &'a Connection,
window: u32,
parent: u32,
x: i16,
y: i16
) -> Cookie<'a, xcb_void_cookie_t>
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.