package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a182e6d368a65e6752771e41e651713f
sha512=020d2c7f9f4e06966ca56695e24eb0b41dd12500aa65d2cd9b56e03068bbb6ea7770de0a33c04f0d054bd474bee8c2b36bb46af86266c9823490e1bd0810c027
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