aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seatop_move_floating.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-28 17:49:58 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2024-02-28 14:28:11 -0500
commitfca8474e9bd64bff8df16fdaf409d5f575ba9501 (patch)
treef310c4062fa1bcbd49fc9397a5386953050f1a61 /sway/input/seatop_move_floating.c
parent469411d4842e265295de5897cbcf879487cb46e8 (diff)
Convert to new pointer enums
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
Diffstat (limited to 'sway/input/seatop_move_floating.c')
-rw-r--r--sway/input/seatop_move_floating.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_move_floating.c b/sway/input/seatop_move_floating.c
index 7de3f4d8..83668d88 100644
--- a/sway/input/seatop_move_floating.c
+++ b/sway/input/seatop_move_floating.c
@@ -21,7 +21,7 @@ static void finalize_move(struct sway_seat *seat) {
static void handle_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->cursor->pressed_button_count == 0) {
finalize_move(seat);
}