aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-06-21 23:10:38 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-06-22 12:44:15 -0400
commit122d8ce95484bd097bf3a15b8191213bd6969b41 (patch)
treeb97bb88c4bf7b566747bed4cce84f51842cd21a5 /include/sway/input
parent49cef51e6e7fe31ba4f820560e0b69ebd2149d37 (diff)
Remove access to wlr_input_device union
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3626 Closes: https://github.com/swaywm/sway/issues/7077
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/keyboard.h1
-rw-r--r--include/sway/input/switch.h1
-rw-r--r--include/sway/input/tablet.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h
index 2c61e5a7..571d9e6f 100644
--- a/include/sway/input/keyboard.h
+++ b/include/sway/input/keyboard.h
@@ -50,6 +50,7 @@ struct sway_shortcut_state {
struct sway_keyboard {
struct sway_seat_device *seat_device;
+ struct wlr_keyboard *wlr;
struct xkb_keymap *keymap;
xkb_layout_index_t effective_layout;
diff --git a/include/sway/input/switch.h b/include/sway/input/switch.h
index 213b471d..de6787b7 100644
--- a/include/sway/input/switch.h
+++ b/include/sway/input/switch.h
@@ -5,6 +5,7 @@
struct sway_switch {
struct sway_seat_device *seat_device;
+ struct wlr_switch *wlr;
enum wlr_switch_state state;
enum wlr_switch_type type;
diff --git a/include/sway/input/tablet.h b/include/sway/input/tablet.h
index d7e4c242..c0a5aff7 100644
--- a/include/sway/input/tablet.h
+++ b/include/sway/input/tablet.h
@@ -32,6 +32,7 @@ struct sway_tablet_pad {
struct wl_list link;
struct sway_seat_device *seat_device;
struct sway_tablet *tablet;
+ struct wlr_tablet_pad *wlr;
struct wlr_tablet_v2_tablet_pad *tablet_v2_pad;
struct wl_listener attach;