x11rb::protocol::xproto

Function circulate_window

Source
pub fn circulate_window<Conn>(
    conn: &Conn,
    direction: Circulate,
    window: Window,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Change window stacking order.

If direction is XCB_CIRCULATE_RAISE_LOWEST, the lowest mapped child (if any) will be raised to the top of the stack.

If direction is XCB_CIRCULATE_LOWER_HIGHEST, the highest mapped child will be lowered to the bottom of the stack.

§Fields

  • direction -
  • window - The window to raise/lower (depending on direction).

§Errors

  • Window - The specified window does not exist.
  • Value - The specified direction is invalid.