diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-22 11:11:11 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-22 11:11:53 -0400 |
commit | e5e6dab7fdbbcc5ce62a40a14b138b4e59a148d9 (patch) | |
tree | f2951af43b09c99a39ef468dfb0cafa5ce3ff26d /include/wlr | |
parent | 087894ae99a680d9228d03bae66becc6112682a1 (diff) |
Fix use of serial on motion_request
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |