Struct gabelstaplerwm::wm::client::Client [] [src]

pub struct Client { /* fields omitted */ }

A client wrapping a window.

A client is a container object that holds the information associated with, a window, but doesn't directly influence the workings of the window manager. That is, the window's properties are used to alter associated structures, which in turn influence the behaviour of the window manager. This is a common pattern in gabelstaplerwm: Most code that the user writes isn't calling any X functions to actually perform the actions it symbolizes. Instead, it modifies carefully crafted structures that act as an interpreting layer for the window manager.

Methods

impl Client
[src]

Setup a new client for a specific window, on a set of tags and with given properties.

Get the window associated with the client.

Move a window to a new set of tags.

Assumes the slice denoted by tags doesn't contain duplicate elements.

Add or remove a tag from a window.

If client would be visible on no tags at all, the operation is not performed.

Check whether a client is visible on a set of tags.

Trait Implementations

impl Clone for Client
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Client
[src]

Formats the value using the given formatter.