[][src]Enum penrose::core::manager::EventAction

pub enum EventAction {
    ClientFocusLost(WinId),
    ClientFocusGained(WinId),
    ClientNameChanged(WinIdbool),
    DestroyClient(WinId),
    DetectScreens,
    MapWindow(WinId),
    RunKeyBinding(KeyCode),
    RunMouseBinding(MouseEvent),
    SetScreenFromPoint(Option<Point>),
    ToggleClientFullScreen(WinIdbool),
    UnknownPropertyChange(WinIdStringbool),
}

Actions that will be carried out by the WindowManager in response to individual each XEvent received from the provided XConn.

Note that each action is processed independently.

Variants

ClientFocusLost(WinId)

An X window gained focus

ClientFocusGained(WinId)

An X window lost focus

ClientNameChanged(WinIdbool)

An X window had its WM_NAME or _NET_WM_NAME property changed

DestroyClient(WinId)

An X window was destroyed

DetectScreens

Screens should be redetected

MapWindow(WinId)

A new X window needs to be mapped

RunKeyBinding(KeyCode)

A grabbed keybinding was triggered

RunMouseBinding(MouseEvent)

A grabbed mouse state was triggered

SetScreenFromPoint(Option<Point>)

The active screen should be set based on point location

ToggleClientFullScreen(WinIdbool)

An X window should be set fullscreen

UnknownPropertyChange(WinIdStringbool)

An unknown property was changed on an X window

Trait Implementations

impl Clone for EventAction[src]

impl Debug for EventAction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.