Skip to content
Commit 03aeb4bd authored by Sergio Gómez's avatar Sergio Gómez 💬
Browse files

clients: Replace 'confine' client to showcase pointer constraints in general



The 'confine' client is used to showcase the behavior of pointer confinement
through the interface zwp_confined_pointer_v1.

Since zwp_confined_pointer_v1 is part of pointer constraints in general, which
includes pointer locking, it makes sense to augment the scope of the client so
it can serve as a showcase for this category of interfaces through
zwp_pointer_constraints_v1.

Currently 'confine' relies on, and is designed around the limitations of, the
toytoolkit. Adapting the toytoolkit for the new requirements proved
unproductive, especially since we wish to add support for pointer constraints in
sub-surfaces. Hence the solution adopted was to write a new client that would
replace the previous one.

This patch introduces the new client, 'constraints.c', replacing 'confine.c'.

Signed-off-by: default avatarSergio Gómez <sergio.g.delreal@gmail.com>
parent 65740ca9
Loading
Loading
Loading
Pipeline #909612 passed with stages
in 2 minutes and 23 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment