logo

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

pub trait XClientConfig {
    fn configure_client(&self, id: Xid, data: &[ClientConfig]) -> Result<()>;
fn set_client_attributes(&self, id: Xid, data: &[ClientAttr]) -> Result<()>;
fn get_window_attributes(&self, id: Xid) -> Result<WindowAttributes>; fn position_client(
        &self,
        id: Xid,
        r: Region,
        border: u32,
        stack_above: bool
    ) -> Result<()> { ... }
fn raise_client(&self, id: Xid) -> Result<()> { ... }
fn set_client_border_color(&self, id: Xid, color: Color) -> Result<()> { ... } }
Expand description

Modifying X client config and attributes

Required methods

Configure the on screen appearance of a client window

Set client attributes such as event masks, border color etc

Get the WindowAttributes for this client

Provided methods

Reposition the window identified by ‘id’ to the specifed region

Raise the window to the top of the stack so it renders above peers

Change the border color for the given client

Implementors