package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.state/Oxbow_state/Output/index.html
Module Oxbow_state.OutputSource
include module type of Types.Output
type t = {obj : Wire.Obj.Window_management.Output.t;layer_shell : Wire.Obj.Layer_shell.Output.t;mutable lifecycle : Lifecycle.t;mutable is_captured : bool;mutable name : string option;mutable labels : string list;mutable geom : int32 Oxbow_core.Rect.t;mutable usable : int Oxbow_core.Rect.t;overview : Overview.t;tag_data : Types.Config.Data.t Oxbow_core.Tag.Table.t;mutable focus_stack : Types.Window.t list;mutable wm_stack : Types.Window.t list;
}focused_window output is Some window when output has a focused visible window
next_window output is the window after the currently focused window in output's window stack. This may be equal to focused_window if it is the only window in the stack or None if there are no windows in the stack. Wraps at stack edges
prev_window output is the window before the currently focused window in output's window stack. This may be equal to focused_window if it is the only window in the stack or None if there are no windows in the stack. Wraps at stack edges.
tag_data output tags is the tag data of output the first set tag of tags. Raises Invalid_argument if tags is the empty set.
to_tag_data output is the tag data of the first selected tag of output. Raises Invalid_argument if output has no selected tags.
at_point ~x ~y lst returns the first output that contains point (x, y). Is None when the point is out of bounds.
switch_tags ~tags output changes the selected tags of output to tags. No-op if Tag.Set.is_empty tags is true.
Effects: mutates WM state
occupied_tags output is the tag set containing all tags with active windows.
occupied_tags output is the tag set containing all tags with urgent windows.
current_layout output is the layout of the first selected tag of output.
current_scheme output is the scheme of the first selected tag of output.
windows_on_tags output ~tags is the list of output's windows on tags.
visible_windows output is the list of visible windows on the selected tags of output.
visible_window_count output is the length of visible_windows o.
tiled_windows output is the list of tiled windows on the selected tags of output.
has_visible_fullscreen output is true when a window is fullscreen and tag visible on output.
is_floating output is true when output is in the Floating layout.
apply_layout td ~layout applies layout to the layout of td.
Effects: mutates WM state
apply_scheme td ~scheme applies scheme to the scheme of td.
Effects: mutates WM state
enter_overview output activates overview mode for output if not already active.
Effects: mutates WM state
exit_overview output deactivates overview mode for output if active.
Effects: mutates WM state
apply_mfact td ~delta applies delta to the mfact of td.
Effects: mutates WM state
apply_nmaster td ~delta applies delta to the nmaster of td
Effects: mutates WM state
apply_gaps_inner td ~delta applies delta to the inner gaps of td.
Effects: mutates WM state
apply_gaps_outer td ~delta applies delta to the outer gaps of td.
Effects: mutates WM state
apply_scrolling_align td ~align applies align to the scroll layout of td.
Effects: mutates WM state
val apply_scrolling_orientation :
Types.Config.Data.t ->
dir:Oxbow_core.Direction.Spatial.t ->
unitapply_scrolling_orientation td ~dir applies dir to the tiling orientation of td.
Effects: mutates WM state
val apply_tiling_orientation :
Types.Config.Data.t ->
dir:Oxbow_core.Direction.Spatial.t ->
unitapply_tiling_orientation td ~dir applies dir to the tiling orientation of td.
Effects: mutates WM state
set_gaps_overview output ~delta sets the overview gaps for output according to delta.
Effects: mutates WM state
set_overview_head output head sets head as the first window of overview mode for output.
Effects: mutates WM state
set_wm_stack output ws replaces output's window stack with ws.
Effects: mutates WM state
set_focus_stack output ws replaces output's focus stack with ws.
Effects: mutates WM state
resolve_tag_arg ~arg output returns the set of tags according to arg.
to_vector output is the vector of output.
matches_name output name is true iff output's name is exactly name.
resolve_output_logical ~dir current outputs is Some output in the logical direction dir from current or None if outputs is empty. Is Some current when current is the only output in outputs.
val resolve_output_spatial :
from:Oxbow_core.Vector.t ->
dir:Oxbow_core.Direction.Spatial.t ->
t ->
t list ->
t optionresolve_output_spatial ~from ~dir current outputs is Some output in the spatial direction dir from current or None if no output qualifies.
resolve_output_name name outputs is the first output in outputs where matches_name ~name output is true.
set_lifecycle output lifecycle sets output's lifecycle to lifecycle.
Effects: mutates WM state
set_is_captured output is_captured sets output's captured status to is_captured.
Effects: mutates WM state
set_usable output usable sets output's usable geometry to usable.
Effects: mutates WM state
set_name output name sets output's name to name.
Effects: mutates WM state
add_label output label adds label to output's label set. No-op when the label is present.
Effects: mutates WM state
remove_label output label removes label from output's label set. No-op when label is absent.
Effects: mutates WM state
set_geom output geom sets output's geometry to geom.
Effects: mutates WM state
set_scroll_offset output offset sets the scroll offset of the first active tag on output.
Effects: mutates WM state
apply_default_width td ~delta applies delta to the default width of td.
Effects: mutates WM state
apply_float_seed td ~seed sets the float seed of td to seed.
Effects: mutates WM state
arranges window is true when window's output owns its dimensions and a proposal exists to defend.