Enum leftwm_core::DisplayEvent
source · pub enum DisplayEvent {
Show 15 variants
Movement(WindowHandle, i32, i32),
MouseCombo(ModMask, Button, WindowHandle, i32, i32),
WindowCreate(Window, i32, i32),
WindowChange(WindowChange),
WindowDestroy(WindowHandle),
WindowTakeFocus(WindowHandle),
HandleWindowFocus(WindowHandle),
VerifyFocusedAt(WindowHandle),
MoveFocusTo(i32, i32),
MoveWindow(WindowHandle, i32, i32),
ResizeWindow(WindowHandle, i32, i32),
ScreenCreate(Screen),
SendCommand(Command),
ConfigureXlibWindow(WindowHandle),
ChangeToNormalMode,
}
Variants§
Movement(WindowHandle, i32, i32)
MouseCombo(ModMask, Button, WindowHandle, i32, i32)
WindowCreate(Window, i32, i32)
WindowChange(WindowChange)
WindowDestroy(WindowHandle)
WindowTakeFocus(WindowHandle)
HandleWindowFocus(WindowHandle)
VerifyFocusedAt(WindowHandle)
MoveFocusTo(i32, i32)
MoveWindow(WindowHandle, i32, i32)
ResizeWindow(WindowHandle, i32, i32)
ScreenCreate(Screen)
SendCommand(Command)
ConfigureXlibWindow(WindowHandle)
ChangeToNormalMode
Trait Implementations§
source§impl Clone for DisplayEvent
impl Clone for DisplayEvent
source§fn clone(&self) -> DisplayEvent
fn clone(&self) -> DisplayEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DisplayEvent
impl Send for DisplayEvent
impl Sync for DisplayEvent
impl Unpin for DisplayEvent
impl UnwindSafe for DisplayEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more