aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_seat.h4
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,