input/seat: don't configure mappings for switches

Switch devices cannot be mapped to an output/region, stop trying
to do so.
This commit is contained in:
Simon Ser 2023-11-16 14:49:52 +01:00 committed by Kenny Levinsen
parent 020a572ed6
commit 01dcad80e1
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}