package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.ops/Oxbow_ops/Focus/index.html
Module Oxbow_ops.FocusSource
layer_shell_sync wm updates the default layer shell output to wm's focused output, if any.
val set_output :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_state.Output.t option ->
unitset_output wm seat output updates the output of seat and sends the necessary layer shell requests.
Effects: mutates WM state
val focus_window :
?force:bool ->
?warp:Oxbow_state.Seat.Warp_request.t ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_state.Window.t ->
unitfocus_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
val window_logical :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
Oxbow_core.Direction.Logical.t ->
(Yojson.Safe.t option, string) resultwindow_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
val window_spatial :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
Oxbow_core.Direction.Spatial.t ->
(Yojson.Safe.t option, string) resultwindow_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
val window_match :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
(Yojson.Safe.t option, string) resultwindow_match ?warp wm seat target focuses the window target. warp overrides the warp on focus configuration.
Effects: mutates WM state
val focus_output :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_state.Output.t ->
unitfocus_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
val output_match :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Output.One.t ->
(Yojson.Safe.t option, string) resultoutput_match ?warp wm seat target focuses the output target. warp overrides the warp on focus configuration.
Effects: mutates WM state
val output_logical :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Direction.Logical.t ->
(Yojson.Safe.t option, string) resultoutput_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
val output_spatial :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Direction.Spatial.t ->
(Yojson.Safe.t option, string) resultoutput_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
remove_window wm window removes window from wm's management.
Effects: mutates WM state
wm_sync wm synchronizes River and oxbow focus state.
Effects: mutates WM state
seat_sync wm seat refreshes the layer focus and cursor target seat.
Effects: mutates WM state
apply_request wm seat handles the focus request on seat.
Effects: mutates WM state
apply_interaction wm seat handles the interaction request on seat.
Effects: mutates WM state