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

The root window for the final cursor position.

The window on which the event was generated.

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.

The pointer X coordinate relative to root's origin at the time of the event.

The pointer Y coordinate relative to root's origin at the time of the event.

If event is on the same screen as root, this is the pointer X coordinate relative to the event window's origin.

If event is on the same screen as root, this is the pointer Y coordinate relative to the event window's origin.

Trait Implementations

impl Copy for xcb_enter_notify_event_t
[src]

impl Clone for xcb_enter_notify_event_t
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more