Trait leftwm_core::display_servers::DisplayServer[][src]

pub trait DisplayServer {
    fn new(config: &impl Config) -> Self;
fn get_next_events(&mut self) -> Vec<DisplayEvent>;
fn wait_readable(&self) -> Pin<Box<dyn Future<Output = ()>>>;
fn flush(&self);
fn verify_focused_window(&self) -> Vec<DisplayEvent>; fn update_theme_settings(&mut self, _config: &impl Config) { ... }
fn update_windows<C: Config>(
        &self,
        _windows: Vec<&Window>,
        _focused: Option<&Window>,
        _manager: &Manager<C, Self>
    )
    where
        Self: Sized
, { ... }
fn update_workspaces(
        &self,
        _windows: Vec<&Workspace>,
        _focused: Option<&Workspace>
    ) { ... }
fn execute_action(&mut self, _act: DisplayAction) -> Option<DisplayEvent> { ... } }

Required methods

Provided methods

Implementors