[][src]Function xcb::ffi::xproto::xcb_destroy_window_checked

pub unsafe extern "C" fn xcb_destroy_window_checked(
    c: *mut xcb_connection_t,
    window: xcb_window_t
) -> xcb_void_cookie_t

Destroys a window

Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying.

Calling DestroyWindow on the root window will do nothing.