diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-28 17:49:58 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2024-02-28 14:28:11 -0500 |
commit | fca8474e9bd64bff8df16fdaf409d5f575ba9501 (patch) | |
tree | f310c4062fa1bcbd49fc9397a5386953050f1a61 /sway/input/seatop_resize_floating.c | |
parent | text_input: don't destroy scene_node twice (diff) | |
download | sway-fca8474e9bd64bff8df16fdaf409d5f575ba9501.tar.gz sway-fca8474e9bd64bff8df16fdaf409d5f575ba9501.tar.zst sway-fca8474e9bd64bff8df16fdaf409d5f575ba9501.zip |
Convert to new pointer enums
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
Diffstat (limited to 'sway/input/seatop_resize_floating.c')
-rw-r--r-- | sway/input/seatop_resize_floating.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_resize_floating.c b/sway/input/seatop_resize_floating.c index 168dfffe..bec86e33 100644 --- a/sway/input/seatop_resize_floating.c +++ b/sway/input/seatop_resize_floating.c | |||
@@ -20,7 +20,7 @@ struct seatop_resize_floating_event { | |||
20 | 20 | ||
21 | static void handle_button(struct sway_seat *seat, uint32_t time_msec, | 21 | static void handle_button(struct sway_seat *seat, uint32_t time_msec, |
22 | struct wlr_input_device *device, uint32_t button, | 22 | struct wlr_input_device *device, uint32_t button, |
23 | enum wlr_button_state state) { | 23 | enum wl_pointer_button_state state) { |
24 | struct seatop_resize_floating_event *e = seat->seatop_data; | 24 | struct seatop_resize_floating_event *e = seat->seatop_data; |
25 | struct sway_container *con = e->con; | 25 | struct sway_container *con = e->con; |
26 | 26 | ||