[][src]Function clipboard_x11::ffi::base::xcb_poll_for_queued_event

pub unsafe extern "C" fn xcb_poll_for_queued_event(
    c: *mut xcb_connection_t
) -> *mut xcb_generic_event_t

Returns the next event without reading from the connection.

This is a version of xcb_poll_for_event that only examines the event queue for new events. The function doesn't try to read new events from the connection if no queued events are found.

This function is useful for callers that know in advance that all interesting events have already been read from the connection. For example, callers might use xcb_wait_for_reply and be interested only of events that preceded a specific reply.