Fix use of serial on motion_request

This commit is contained in:
Drew DeVault 2017-09-22 11:11:11 -04:00
parent 087894ae99
commit e5e6dab7fd
3 changed files with 12 additions and 11 deletions

View file

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