mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
seat fallback config
This commit is contained in:
parent
e27eff8a29
commit
88bcd43ebf
9 changed files with 105 additions and 31 deletions
|
|
@ -120,6 +120,7 @@ void sway_seat_configure_device(struct sway_seat *seat,
|
|||
void sway_seat_add_device(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device) {
|
||||
if (sway_seat_get_device(seat, input_device)) {
|
||||
sway_seat_configure_device(seat, input_device);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -246,7 +247,5 @@ void sway_seat_set_config(struct sway_seat *seat,
|
|||
seat_device->attachment_config =
|
||||
seat_config_get_attachment(seat_config,
|
||||
seat_device->input_device->identifier);
|
||||
sway_seat_configure_device(seat, seat_device->input_device);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue