package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.ops/Oxbow_ops/Stacking/index.html
Module Oxbow_ops.StackingSource
remove_window ~window output removes window from output if output manages window.
Effects: mutates WM state
restore_focus_order ~like output reorders output's focus stack. Windows that appear in like come first, in the order of like. The other windows keep their current order.
Effects: mutates WM state
push windows output pushes windows to the top of the tile and focus stack of output.
Effects: mutates WM state
val spawn :
position:Oxbow_core.Spawn_position.t ->
focus:bool ->
window:Oxbow_state.Window.t ->
Oxbow_state.Output.t ->
unitspawn ~position ~focus ~window output inserts the spawning window into output's wm and focus stacks. position picks the wm stack slot relative to the focused window. When focus is true the window becomes the head of the focus stack. When focus is false it goes directly behind the head.
Effects: mutates WM state
focus_window window focuses window.
Effects: mutates WM state
val shift :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
Oxbow_core.Direction.Logical.t ->
(Yojson.Safe.t option, string) resultshift wm seat target dir shifts the window target one slot in dir through the tile stack, wrapping at the head and tail. Is Error msg when the target window has no output, or no other window exists.
Effects: mutates WM state
val replace :
old_w:Oxbow_state.Window.t ->
new_w:Oxbow_state.Window.t ->
Oxbow_state.Output.t ->
unitreplace ~old_w ~new_w output puts new_w in old_w's slot in output's wm and focus stacks. new_w leaves any other slot it held. old_w leaves both stacks.
Effects: mutates WM state