diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-12-14 01:57:51 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-14 09:31:42 -0500 |
commit | 218b5b9dc0f90693be0a77f0bd3001f1912b86aa (patch) | |
tree | ec9187d2749807334c77e1bcb67988b7de8a1684 /swaybar/config.c | |
parent | f9ce8749dc4e4f4991aa336aba7137455aa67327 (diff) |
config/input: set type for new identifier configs
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.
Diffstat (limited to 'swaybar/config.c')
0 files changed, 0 insertions, 0 deletions