mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
input/pointer: notify compositor when constraint region changes
This allows a compositor to know when warping back into the region is appropriate. Refs swaywm/sway#5268.
This commit is contained in:
parent
51bbf31742
commit
8b18d389b3
2 changed files with 11 additions and 0 deletions
|
|
@ -57,6 +57,11 @@ struct wlr_pointer_constraint_v1 {
|
|||
struct wl_list link; // wlr_pointer_constraints_v1::constraints
|
||||
|
||||
struct {
|
||||
/**
|
||||
* Called when a pointer constraint's region is updated,
|
||||
* post-surface-commit.
|
||||
*/
|
||||
struct wl_signal set_region;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue