Oxbow_ops.StackingSourceremove_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