Function xcb::xproto::set_input_focus[][src]

pub fn set_input_focus<'a>(
    c: &'a Connection,
    revert_to: u8,
    focus: Window,
    time: Timestamp
) -> VoidCookie<'a>

Sets input focus

Changes the input focus and the last-focus-change time. If the specified time is earlier than the current last-focus-change time, the request is ignored (to avoid race conditions when running X over the network).

A FocusIn and FocusOut event is generated when focus is changed.

parameters: