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.state/Oxbow_state/Input_device/index.html

Module Oxbow_state.Input_deviceSource

include module type of Types.Input_device
Sourcemodule Lifecycle : sig ... end
Sourcemodule Role : sig ... end
type t = {
  1. obj : Wire.Obj.Input.Management.Device.t;
  2. name : string;
  3. role : Role.t;
  4. mutable lifecycle : Lifecycle.t;
  5. mutable libinput : Wire.Obj.Input.Config.Device.t option;
}
Sourceval role_to_string : Role.t -> string

role_to_string role is the string representation of role.

Sourceval set_keyboard : Types.Wm.t -> t -> Wire.Obj.Xkb.Config.Keyboard.t -> unit

set_keyboard wm device xkb sets device's xkb attribute to xkb if device is a keyboard. Logs a warning if device is not a keyboard. Sends a River request to set the user's configured keymap.

Effects: mutates WM state; sends River request

Sourceval set_lifecycle : t -> Lifecycle.t -> unit

set_lifecycle device lifecycle sets device's lifecycle to lifecycle.

Effects: mutates WM state

Sourceval clear_device : t -> Wire.Obj.Xkb.Config.Keyboard.t -> unit

clear_device device proxy clears device if it is holding proxy.

Effects: mutates WM state

Sourceval remove_device : t -> unit

remove_device device deletes device's associated Wayland objects. Is a no-op if device was already removed.

Effects: mutates WM state; sends River request

id proxy is the protocol object id of proxy. The bridge uses it as a map key.

Sourceval matches : t -> pattern:string option -> case:Oxbow_core.Pattern.Case.t -> role:Oxbow_core.Input.Role.t option -> bool

matches device ~pattern ~case ~role is true when device matches role and pattern according to case.