[−][src]Struct xcb::ffi::xproto::xcb_send_event_request_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'.
Fields
major_opcode: u8propagate: u8If propagate is true and no clients have selected any event on destination,
the destination is replaced with the closest ancestor of destination for
which some client has selected a type in event_mask and for which no
intervening window has that type in its do-not-propagate-mask. If no such
window exists or if the window is an ancestor of the focus window and
InputFocus was originally specified as the destination, the event is not sent
to any clients. Otherwise, the event is reported to every client selecting on
the final destination any of the types specified in event_mask.
length: u16destination: xcb_window_tThe window to send this event to. Every client which selects any event within
event_mask on destination will get the event.
The special value XCB_SEND_EVENT_DEST_POINTER_WINDOW refers to the window
that contains the mouse pointer.
The special value XCB_SEND_EVENT_DEST_ITEM_FOCUS refers to the window which
has the keyboard focus.
event_mask: u32Event_mask for determining which clients should receive the specified event.
See destination and propagate.
event: [c_char; 32]The event to send to the specified destination.
Trait Implementations
impl Copy for xcb_send_event_request_t[src]
impl Clone for xcb_send_event_request_t[src]
fn clone(&self) -> xcb_send_event_request_t[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Unpin for xcb_send_event_request_t
impl Sync for xcb_send_event_request_t
impl Send for xcb_send_event_request_t
impl UnwindSafe for xcb_send_event_request_t
impl RefUnwindSafe for xcb_send_event_request_t
Blanket Implementations
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,