aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 9dd078c6..7ae29828 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1520,7 +1520,7 @@ struct seat_config *seat_get_config_by_name(const char *name) {
}
void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec,
- uint32_t button, enum wlr_button_state state) {
+ uint32_t button, enum wl_pointer_button_state state) {
seat->last_button_serial = wlr_seat_pointer_notify_button(seat->wlr_seat,
time_msec, button, state);
}
@@ -1557,7 +1557,7 @@ void seatop_unref(struct sway_seat *seat, struct sway_container *con) {
void seatop_button(struct sway_seat *seat, uint32_t time_msec,
struct wlr_input_device *device, uint32_t button,
- enum wlr_button_state state) {
+ enum wl_pointer_button_state state) {
if (seat->seatop_impl->button) {
seat->seatop_impl->button(seat, time_msec, device, button, state);
}