package oxbow

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801

doc/oxbow.ops/Oxbow_ops/Focus/index.html

Module Oxbow_ops.FocusSource

Sourceval layer_shell_sync : Oxbow_state.Wm.t -> unit

layer_shell_sync wm updates the default layer shell output to wm's focused output, if any.

Sourceval set_output : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_state.Output.t option -> unit

set_output wm seat output updates the output of seat and sends the necessary layer shell requests.

Effects: mutates WM state

focus_window ?force ?warp wm seat window focuses window on seat. No-op when window is already focused on seat and neither force nor a layer focus on seat forces a refocus. Default force is false. When warp is present, it becomes seat's warp request. When warp is absent, the warp request does not change.

Effects: mutates WM state

refresh wm output clears focus if no focused window on output, or returns focus to the focused window.

Effects: mutates WM state

window_logical ?warp wm seat target dir focuses the window in logical direction dir of the window target. warp overrides the warp on focus configuration. Is Error msg when the target window is fullscreen, window has no output, or there is no window to focus.

Effects: mutates WM state

window_spatial ?warp wm seat target dir focuses the window in spatial direction dir of the window target. warp overrides the warp on focus configuration. Is Error msg when the target window is fullscreen, window has no output, or there is no window to focus.

Effects: mutates WM state

Sourceval window_match : ?warp:bool -> Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_core.Target.Window.One.t -> (Yojson.Safe.t option, string) result

window_match ?warp wm seat target focuses the window target. warp overrides the warp on focus configuration.

Effects: mutates WM state

Sourceval focus_output : ?warp:bool -> Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_state.Output.t -> unit

focus_output ?warp wm seat output focuses output on seat. No-op when outupt is already focused on seat. When warp is present, it becomes seat's warp request. When warp is absent, the warp request does not change.

Effects: mutates WM state

Sourceval output_match : ?warp:bool -> Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_core.Target.Output.One.t -> (Yojson.Safe.t option, string) result

output_match ?warp wm seat target focuses the output target. warp overrides the warp on focus configuration.

Effects: mutates WM state

Sourceval output_logical : ?warp:bool -> Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_core.Direction.Logical.t -> (Yojson.Safe.t option, string) result

output_logical ?warp wm seat dir focuses the output in logical direction dir. The payload warp overrides the warp on focus configuration. Is Error msg when seat has no output or no other output exists.

Effects: mutates WM state

Sourceval output_spatial : ?warp:bool -> Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_core.Direction.Spatial.t -> (Yojson.Safe.t option, string) result

output_spatial ?warp wm seat dir focuses the output in spatial direction dir. The payload warp overrides the warp on focus configuration. Is Error msg when seat has no output or no output lies in dir.

Effects: mutates WM state

Sourceval remove_window : Oxbow_state.Wm.t -> Oxbow_state.Window.t -> unit

remove_window wm window removes window from wm's management.

Effects: mutates WM state

Sourceval wm_sync : Oxbow_state.Wm.t -> unit

wm_sync wm synchronizes River and oxbow focus state.

Effects: mutates WM state

Sourceval seat_sync : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> unit

seat_sync wm seat refreshes the layer focus and cursor target seat.

Effects: mutates WM state

Sourceval apply_request : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> unit

apply_request wm seat handles the focus request on seat.

Effects: mutates WM state

Sourceval apply_interaction : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> unit

apply_interaction wm seat handles the interaction request on seat.

Effects: mutates WM state