mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
input/cursor: keep reference to cursor in constraint
set_region accepts a NULL *data, so we can't use it to reference the constraint and find the cursor through its seat. Fixes #5386.
This commit is contained in:
parent
34e0cad9ac
commit
d71fed95da
2 changed files with 4 additions and 5 deletions
|
|
@ -111,6 +111,7 @@ struct sway_seat {
|
|||
};
|
||||
|
||||
struct sway_pointer_constraint {
|
||||
struct sway_cursor *cursor;
|
||||
struct wlr_pointer_constraint_v1 *constraint;
|
||||
|
||||
struct wl_listener set_region;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue