Struct leftwm_core::Manager [−][src]
pub struct Manager<C, SERVER> {
pub state: State<C>,
pub display_server: SERVER,
// some fields omitted
}Expand description
Maintains current program state.
Fields
state: State<C>display_server: SERVERImplementations
Processes a command and invokes the associated function.
Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.
Marks a workspace as the focused workspace.
Create a DisplayAction to cause this window to become focused
Create an action to inform the DM of the new current tags.
pub fn mouse_combo_handler(
&mut self,
modmask: ModMask,
button: Button,
handle: WindowHandle,
modifier: ModMask
) -> bool
Process a collection of events, and apply them changes to a manager.
Returns true if changes need to be rendered.
Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.
Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.
pub fn window_move_handler(
&mut self,
handle: &WindowHandle,
offset_x: i32,
offset_y: i32
) -> bool
pub fn window_resize_handler(
&mut self,
handle: &WindowHandle,
offset_w: i32,
offset_h: i32
) -> bool
Return the currently focused workspace.
Return the currently focused workspace.
Return the currently focused tag if the offset is 0. Offset is used to reach further down the history.
Return the currently focused window.
Return the currently focused window.
Soft reload the worker without saving state.
Apply saved state to a running manager.