package oxbow

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.1.tar.gz
md5=a182e6d368a65e6752771e41e651713f
sha512=020d2c7f9f4e06966ca56695e24eb0b41dd12500aa65d2cd9b56e03068bbb6ea7770de0a33c04f0d054bd474bee8c2b36bb46af86266c9823490e1bd0810c027

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.