From d6de329d981f232ad47657d389a76b0da3cd217f Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 30 Jan 2019 10:54:57 +0100 Subject: seat: don't send motion if pointer hasn't moved --- include/wlr/types/wlr_seat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr') 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; -- cgit v1.2.3