seat: don't send motion if pointer hasn't moved

This commit is contained in:
emersion 2019-01-30 10:54:57 +01:00
parent c505ce3019
commit d6de329d98
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 28 additions and 9 deletions

View file

@ -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;