aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-16 14:49:52 +0100
committerKenny Levinsen <kl@kl.wtf>2023-11-16 16:29:07 +0100
commit01dcad80e170cdca02f7195c6f55502c74ac313c (patch)
tree99f2d5f8cf49e40c89684219c21a0416746c540b /sway/input
parent020a572ed615b8fe272c7566a27ee0abe73a58d7 (diff)
input/seat: don't configure mappings for switches
Switch devices cannot be mapped to an output/region, stop trying to do so.
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c1
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,
if (!seat_device->switch_device) {
sway_switch_create(seat, seat_device);
}
- seat_apply_input_config(seat, seat_device);
sway_switch_configure(seat_device->switch_device);
}