package oxbow

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.1.tar.gz
md5=a182e6d368a65e6752771e41e651713f
sha512=020d2c7f9f4e06966ca56695e24eb0b41dd12500aa65d2cd9b56e03068bbb6ea7770de0a33c04f0d054bd474bee8c2b36bb46af86266c9823490e1bd0810c027

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