logo

Trait penrose::core::xconnection::XClientHandler[][src]

pub trait XClientHandler {
    fn map_client(&self, id: Xid) -> Result<()>;
fn unmap_client(&self, id: Xid) -> Result<()>;
fn destroy_client(&self, id: Xid) -> Result<()>;
fn kill_client(&self, id: Xid) -> Result<()>;
fn focus_client(&self, id: Xid) -> Result<()>; fn map_client_if_needed(&self, win: Option<&mut Client>) -> Result<()> { ... }
fn unmap_client_if_needed(&self, win: Option<&mut Client>) -> Result<()> { ... } }
Expand description

Management of the visibility and lifecycle of X clients

Required methods

Map a client to the display.

Unmap a client from the display.

Destroy an existing client.

Forcably kill an existing client.

Mark the given client as having focus

Provided methods

Map a known penrose Client if it is not currently visible

Unmap a known penrose Client if it is currently visible

Implementors