Expand description

Types for automatically handling seats

This modules provides a SeatHandler for use with the environment! macro. It is automatically inserted in the default_environment!.

This handler tracks the capability of the seats declared by the compositor, and gives you the possibility to register callbacks that will be invoked whenever a new seat is created of the state of a seat changes, via the Environment::listen_for_seats method.

Note: if you don’t use the default_environment!, you’ll need to implement the SeatHandling on your environment struct to access the added methods on Environment.

Modules

Utilities for keymap interpretation of keyboard input

Utilities to work with pointers and their icons

Structs

The metadata associated with a seat

A simple handler for seats

A handle to an seat listener callback

Traits

Trait representing the SeatHandler functions

Functions

Get the copy of the data associated with this seat

Access the data associated with this seat