Struct gabelstaplerwm::wm::layout::monocle::Monocle [] [src]

pub struct Monocle {
    pub offset_x: u32,
    pub offset_y: u32,
}

Monocle layout with offset.

Shows one window at a time, keeping offsets to the screen borders. New clients are added as master, otherwise they would be invisible at first.

Fields

x offset of master window (symmetric)

y offset of master window (symmetric)

Trait Implementations

impl Debug for Monocle
[src]

Formats the value using the given formatter.

impl Default for Monocle
[src]

Returns the "default value" for a type. Read more

impl Layout for Monocle
[src]

Compute window geometries. Read more

Get the index of the window to the right of the nth window.

Get the index of the window to the left of the nth window.

Get the index of the window to the top of the nth window.

Get the index of the window to the bottom of the nth window.

Decide whether to insert new windows as master.

React to a LayoutMessage, returning true on change.

React to the first applicable LayoutMessage. Read more