diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-16 14:49:52 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2023-11-16 16:29:07 +0100 |
commit | 01dcad80e170cdca02f7195c6f55502c74ac313c (patch) | |
tree | 99f2d5f8cf49e40c89684219c21a0416746c540b | |
parent | swaynag/config.c: fix build against gcc-14 (-Walloc-size) (diff) | |
download | sway-01dcad80e170cdca02f7195c6f55502c74ac313c.tar.gz sway-01dcad80e170cdca02f7195c6f55502c74ac313c.tar.zst sway-01dcad80e170cdca02f7195c6f55502c74ac313c.zip |
input/seat: don't configure mappings for switches
Switch devices cannot be mapped to an output/region, stop trying
to do so.
-rw-r--r-- | sway/input/seat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index f56de137..6c0e85bd 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -834,7 +834,6 @@ static void seat_configure_switch(struct sway_seat *seat, | |||
834 | if (!seat_device->switch_device) { | 834 | if (!seat_device->switch_device) { |
835 | sway_switch_create(seat, seat_device); | 835 | sway_switch_create(seat, seat_device); |
836 | } | 836 | } |
837 | seat_apply_input_config(seat, seat_device); | ||
838 | sway_switch_configure(seat_device->switch_device); | 837 | sway_switch_configure(seat_device->switch_device); |
839 | } | 838 | } |
840 | 839 | ||