diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 16:50:20 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 21:52:59 +0300 |
commit | 440d0bc22d57b8b0b21a8acbf127243b8d08cfae (patch) | |
tree | b7988cd9caef571636f775a78c8e39f95b610d0a /sway/input/tablet.c | |
parent | sway/input/seat: take output name from specialized input device (diff) | |
download | sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.gz sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.zst sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.zip |
sway/input: follow up wlroots input device events renaming
Diffstat (limited to 'sway/input/tablet.c')
-rw-r--r-- | sway/input/tablet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/input/tablet.c b/sway/input/tablet.c index 26e86e36..db2f93ec 100644 --- a/sway/input/tablet.c +++ b/sway/input/tablet.c | |||
@@ -196,7 +196,7 @@ static void handle_tablet_pad_attach(struct wl_listener *listener, | |||
196 | 196 | ||
197 | static void handle_tablet_pad_ring(struct wl_listener *listener, void *data) { | 197 | static void handle_tablet_pad_ring(struct wl_listener *listener, void *data) { |
198 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, ring); | 198 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, ring); |
199 | struct wlr_event_tablet_pad_ring *event = data; | 199 | struct wlr_tablet_pad_ring_event *event = data; |
200 | 200 | ||
201 | if (!pad->current_surface) { | 201 | if (!pad->current_surface) { |
202 | return; | 202 | return; |
@@ -210,7 +210,7 @@ static void handle_tablet_pad_ring(struct wl_listener *listener, void *data) { | |||
210 | 210 | ||
211 | static void handle_tablet_pad_strip(struct wl_listener *listener, void *data) { | 211 | static void handle_tablet_pad_strip(struct wl_listener *listener, void *data) { |
212 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, strip); | 212 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, strip); |
213 | struct wlr_event_tablet_pad_strip *event = data; | 213 | struct wlr_tablet_pad_strip_event *event = data; |
214 | 214 | ||
215 | if (!pad->current_surface) { | 215 | if (!pad->current_surface) { |
216 | return; | 216 | return; |
@@ -224,7 +224,7 @@ static void handle_tablet_pad_strip(struct wl_listener *listener, void *data) { | |||
224 | 224 | ||
225 | static void handle_tablet_pad_button(struct wl_listener *listener, void *data) { | 225 | static void handle_tablet_pad_button(struct wl_listener *listener, void *data) { |
226 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, button); | 226 | struct sway_tablet_pad *pad = wl_container_of(listener, pad, button); |
227 | struct wlr_event_tablet_pad_button *event = data; | 227 | struct wlr_tablet_pad_button_event *event = data; |
228 | 228 | ||
229 | if (!pad->current_surface) { | 229 | if (!pad->current_surface) { |
230 | return; | 230 | return; |