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

pub unsafe extern "C" fn xcb_set_input_focus(
    c: *mut xcb_connection_t,
    revert_to: u8,
    focus: xcb_window_t,
    time: xcb_timestamp_t
) -> xcb_void_cookie_t

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.