Struct xcb::ffi::xproto::xcb_reparent_window_request_t
[−]
[src]
#[repr(C)]pub struct xcb_reparent_window_request_t { pub major_opcode: u8, pub pad0: u8, pub length: u16, pub window: xcb_window_t, pub parent: xcb_window_t, pub x: i16, pub y: i16, }
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.
Fields
major_opcode: u8
pad0: u8
length: u16
window: xcb_window_t
The window to reparent.
parent: xcb_window_t
The new parent of the window.
x: i16
The X position of the window within its new parent.
y: i16
The Y position of the window within its new parent.
Trait Implementations
impl Copy for xcb_reparent_window_request_t
[src]
impl Clone for xcb_reparent_window_request_t
[src]
fn clone(&self) -> xcb_reparent_window_request_t
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more