From e5e6dab7fdbbcc5ce62a40a14b138b4e59a148d9 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 22 Sep 2017 11:11:11 -0400 Subject: Fix use of serial on motion_request --- include/wlr/types/wlr_seat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index f992b2f2..aa17d650 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -104,9 +104,9 @@ void wlr_seat_pointer_send_motion(struct wlr_seat *wlr_seat, uint32_t time, /** * Send a button event to the surface with pointer focus. Coordinates for the - * button event are surface-local. + * button event are surface-local. Returns the serial. */ -void wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat, uint32_t time, +uint32_t wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat, uint32_t time, uint32_t button, uint32_t state); void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time, -- cgit v1.2.3