aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/switch.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-06-21 23:10:38 +0200
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2022-06-22 12:44:15 -0400
commit122d8ce95484bd097bf3a15b8191213bd6969b41 (patch)
treeb97bb88c4bf7b566747bed4cce84f51842cd21a5 /include/sway/input/switch.h
parentAllocate enough space for `cmd_results->error` (diff)
downloadsway-122d8ce95484bd097bf3a15b8191213bd6969b41.tar.gz
sway-122d8ce95484bd097bf3a15b8191213bd6969b41.tar.zst
sway-122d8ce95484bd097bf3a15b8191213bd6969b41.zip
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/switch.h')
-rw-r--r--include/sway/input/switch.h1
1 files changed, 1 insertions, 0 deletions
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 @@
5 5
6struct sway_switch { 6struct sway_switch {
7 struct sway_seat_device *seat_device; 7 struct sway_seat_device *seat_device;
8 struct wlr_switch *wlr;
8 enum wlr_switch_state state; 9 enum wlr_switch_state state;
9 enum wlr_switch_type type; 10 enum wlr_switch_type type;
10 11