Struct xcb::x::EnterNotifyEvent [−][src]
pub struct EnterNotifyEvent { /* fields omitted */ }
Expand description
the pointer is in a different window
Implementations
pub fn new(
detail: u8,
time: Timestamp,
root: Window,
event: Window,
child: Window,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
mode: u8,
same_screen_focus: u8
) -> EnterNotifyEvent
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
Compute the length of serialized data of an instance starting by ptr
. Read more