Struct redwm::imports::EnterNotifyEvent [−][src]
pub struct EnterNotifyEvent {}
Expand description
the pointer is in a different window.
Fields
event
- The window on which the event was generated.child
- If theevent
window has subwindows and the final pointer position is in one of them, thenchild
is set to that subwindow,XCB_WINDOW_NONE
otherwise.root
- The root window for the final cursor position.root_x
- The pointer X coordinate relative toroot
’s origin at the time of the event.root_y
- The pointer Y coordinate relative toroot
’s origin at the time of the event.event_x
- Ifevent
is on the same screen asroot
, this is the pointer X coordinate relative to the event window’s origin.event_y
- Ifevent
is on the same screen asroot
, this is the pointer Y coordinate relative to the event window’s origin.mode
-
Fields
response_type: u8
detail: NotifyDetail
sequence: u16
time: u32
root: u32
event: u32
child: u32
root_x: i16
root_y: i16
event_x: i16
event_y: i16
state: u16
mode: NotifyMode
same_screen_focus: u8
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EnterNotifyEvent
impl Send for EnterNotifyEvent
impl Sync for EnterNotifyEvent
impl Unpin for EnterNotifyEvent
impl UnwindSafe for EnterNotifyEvent
Blanket Implementations
Mutably borrows from an owned value. Read more