package oxbow

  1. Overview
  2. Docs
Dynamic window manager for the river Wayland compositor

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801

doc/oxbow.ops/Oxbow_ops/Swallow/index.html

Module Oxbow_ops.SwallowSource

Sourceval parent_pid : (int -> int option) ref

parent_pid maps a PID to its parent PID. The default reads /proc/<pid>/stat. Tests replace it. Is None when the PID has no parent or the read fails.

Sourceval try_swallow : Oxbow_state.Wm.t -> Oxbow_state.Window.t -> unit

try_swallow wm window finds an eligible terminal ancestor of window and swallows it. No-op when window or every candidate fails an eligibility test.

Effects: mutates WM state

Sourceval unswallow : Oxbow_state.Window.t -> unit

unswallow window restores the host hidden by window. No-op when window swallows nothing.

Effects: mutates WM state

Sourceval on_close : Oxbow_state.Window.t -> unit

on_close window clears the swallow relation of a closing window. A closing child restores its host first.

Effects: mutates WM state

toggle wm seat target swallows under, or restores from, the target windows. Is Error msg when target has no match.

Effects: mutates WM state