Module wayland_protocols::wp::pointer_constraints

source ·
Expand description

protocol for constraining pointer motions

This protocol specifies a set of interfaces used for adding constraints to the motion of a pointer. Possible constraints include confining pointer motions to a given region, or locking it to its current position.

In order to constrain the pointer, a client must first bind the global interface “wp_pointer_constraints” which, if a compositor supports pointer constraints, is exposed by the registry. Using the bound global object, the client uses the request that corresponds to the type of constraint it wants to make. See wp_pointer_constraints for more details.

Modules§

  • Unstable version 1