diff options
author | emersion <contact@emersion.fr> | 2019-01-30 10:54:57 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-30 15:24:17 +0100 |
commit | d6de329d981f232ad47657d389a76b0da3cd217f (patch) | |
tree | fad059dfe27f8be69069fd891c234082f95b4bb3 /include/wlr | |
parent | c505ce30191441f6bdc47eae13cf1af83d2fab41 (diff) |
seat: don't send motion if pointer hasn't moved
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 103fa24d..c81c2cec 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -135,6 +135,7 @@ struct wlr_seat_pointer_state { struct wlr_seat *seat; struct wlr_seat_client *focused_client; struct wlr_surface *focused_surface; + double sx, sy; struct wlr_seat_pointer_grab *grab; struct wlr_seat_pointer_grab *default_grab; |