Struct xcb::ffi::xproto::xcb_enter_notify_event_t
[−]
[src]
#[repr(C)]pub struct xcb_enter_notify_event_t { pub response_type: u8, pub detail: u8, pub sequence: u16, pub time: xcb_timestamp_t, pub root: xcb_window_t, pub event: xcb_window_t, pub child: xcb_window_t, pub root_x: i16, pub root_y: i16, pub event_x: i16, pub event_y: i16, pub state: u16, pub mode: u8, pub same_screen_focus: u8, }
the pointer is in a different window
Fields
response_type: u8
detail: u8
sequence: u16
time: xcb_timestamp_t
root: xcb_window_t
The root window for the final cursor position.
event: xcb_window_t
The window on which the event was generated.
child: xcb_window_t
If the event
window has subwindows and the final pointer position is in one
of them, then child
is set to that subwindow, XCB_WINDOW_NONE
otherwise.
root_x: i16
The pointer X coordinate relative to root
's origin at the time of the event.
root_y: i16
The pointer Y coordinate relative to root
's origin at the time of the event.
event_x: i16
If event
is on the same screen as root
, this is the pointer X coordinate
relative to the event window's origin.
event_y: i16
If event
is on the same screen as root
, this is the pointer Y coordinate
relative to the event window's origin.
state: u16
mode: u8
same_screen_focus: u8
Trait Implementations
impl Copy for xcb_enter_notify_event_t
[src]
impl Clone for xcb_enter_notify_event_t
[src]
fn clone(&self) -> xcb_enter_notify_event_t
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more