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

pub unsafe extern "C" fn xcb_send_event(
    c: *mut xcb_connection_t,
    propagate: u8,
    destination: xcb_window_t,
    event_mask: u32,
    event: *const c_char
) -> xcb_void_cookie_t

send an event

Identifies the destination window, determines which clients should receive the specified event and ignores any active grabs.

The event must be one of the core events or an event defined by an extension, so that the X server can correctly byte-swap the contents as necessary. The contents of event are otherwise unaltered and unchecked except for the send_event field which is forced to ‘true’.