diff options
author | Simon Ser <contact@emersion.fr> | 2022-06-21 23:10:38 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-06-22 12:44:15 -0400 |
commit | 122d8ce95484bd097bf3a15b8191213bd6969b41 (patch) | |
tree | b97bb88c4bf7b566747bed4cce84f51842cd21a5 /include/sway/input/switch.h | |
parent | Allocate enough space for `cmd_results->error` (diff) | |
download | sway-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.h | 1 |
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 | ||
6 | struct sway_switch { | 6 | struct 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 | ||