input/seat: don't configure mappings for switches

Switch devices cannot be mapped to an output/region, stop trying
to do so.
master
Simon Ser 1 year ago committed by Kenny Levinsen
parent 020a572ed6
commit 01dcad80e1

@ -834,7 +834,6 @@ static void seat_configure_switch(struct sway_seat *seat,
if (!seat_device->switch_device) { if (!seat_device->switch_device) {
sway_switch_create(seat, seat_device); sway_switch_create(seat, seat_device);
} }
seat_apply_input_config(seat, seat_device);
sway_switch_configure(seat_device->switch_device); sway_switch_configure(seat_device->switch_device);
} }

Loading…
Cancel
Save