Module smithay::wayland

source ·
Expand description

Protocol-related utilities

This module contains several handlers to manage the Wayland protocol and the clients.

Most utilities provided in this module work in the same way:

  • An init function or method will take the event loop as argument and insert one or more globals into it.
  • If you want to remove a previously inserted global, just call the destroy() method on the associated Global. If you don’t plan to destroy the global at all, you don’t need to bother keeping the Global around.

Modules

Utilities for handling surfaces, subsurfaces and regions
Utilities for manipulating the data devices
Output advertising capabilities
Seat global utilities
SHM handling helpers

Structs

A counter for generating serials, for use in the client protocol

Statics

A global SerialCounter for use in your compositor.