Module penrose::pure

source ·
Expand description

Side effect free management of internal window manager state

Modules§

Structs§

  • A wrapper around a single Workspace that includes the physical screen size as a Rect.
  • A Stack can be thought of as a linked list with a hole punched in it to mark a single element that currently holds focus (though in practice it is implemented using a VecDeque for efficiency purposes). By convention, the main element is the first element in the stack (regardless of focus). Focusing operations do not reorder the elements of the stack or the resulting Vec that can be obtained from calling Stack::flatten.
  • The side-effect free internal state representation of the window manager.
  • A wrapper around a Stack of windows belonging to a single “workspace” or virtual desktop. When this workspace is active on a given screen, the windows contained in its stack will be positioned using the active layout of its LayoutStack.

Enums§