aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-22 22:30:40 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-23 14:14:18 +0000
commit1d9c1bcea6a223379af63b4d779d53663eaffcf8 (patch)
treeddab71bb63061a9bb0868fdce1496b52b4fea5a5 /include/backend/wayland.h
parentc9ba9e82b6a829d6e6d5acc65753b3ade46cefb9 (diff)
input-device: remove wlr_input_device.link
This field's ownership is unclear: it's in wlr_input_device, but it's not managed by the common code, it's up to each individual backend to use it and clean it up. Since this is a backend implementation detail, move it to the backend-specific structs.
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 32783597..4e5d3636 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -87,6 +87,7 @@ struct wlr_wl_output {
struct wlr_wl_input_device {
struct wlr_input_device wlr_input_device;
+ struct wl_list link;
uint32_t fingers;
struct wlr_wl_backend *backend;