mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
218b5b9dc0
When an input becomes available, the input type config for that device type will be merged underneath the input identifier config, provided they both exist. If an input type config gets added or modified at a later point, then those changes get merged onto the input identifier configs for that type. However there was a missing case of the input identifier config being added after the device is already available and the input type config existing. This makes it so that the first time an input identifier config gets stored, there will be a check to see if it matched any of the available devices. If it does, then there will be a search for the associated input type config, which will be merged underneath the input identifier config if found. |
||
---|---|---|
.. | ||
bar.c | ||
input.c | ||
output.c | ||
seat.c |