mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 01:11:28 +00:00
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:
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…
Reference in a new issue