input/pointer: only warp cursor when the confine region has changed

Refs #5268.
This commit is contained in:
Tudor Brindus 2020-05-02 19:22:15 -04:00 committed by Simon Ser
parent 45e4e92172
commit 6f0a0bd385
3 changed files with 18 additions and 1 deletions

View file

@ -111,6 +111,7 @@ struct sway_seat {
struct sway_pointer_constraint {
struct wlr_pointer_constraint_v1 *constraint;
struct wl_listener set_region;
struct wl_listener destroy;
};