summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-11-16 14:49:52 +0100
committerFurkan Sahin <furkan-dev@proton.me>2023-11-16 14:49:52 +0100
commitd193bf9ebe7e7e13860ed4931f9895079acaf4fc (patch)
tree99f2d5f8cf49e40c89684219c21a0416746c540b
parent46606ff835bb2217137204518d37295dcee7cf81 (diff)
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.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);
}