Struct gabelstaplerwm::wm::window_system::Wm [] [src]

pub struct Wm<'a> { /* fields omitted */ }

A window manager master-structure.

This is the central instance coordinating the communication with the X server, as well as containing structures to manage tags and clients. It also contains callback mechanisms upon key press and client creation.

Methods

impl<'a> Wm<'a>
[src]

Wrap a connection to initialize a window manager.

Initialize the RandR extension for multimonitor support.

Add all present clients to the datastructures on startup.

Register window manager.

Issues substructure redirects for the root window and registers for all events we are interested in.

Set up keybindings and necessary keygrabs.

Set up client matching.

Set up screen matching.

Set up urgency callback.

Wait for events, handle them. Repeat.