aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/seat/cursor.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-12-14 01:57:51 -0500
committerDrew DeVault <sir@cmpwn.com>2019-12-14 09:31:42 -0500
commit218b5b9dc0f90693be0a77f0bd3001f1912b86aa (patch)
treeec9187d2749807334c77e1bcb67988b7de8a1684 /sway/commands/seat/cursor.c
parentf9ce8749dc4e4f4991aa336aba7137455aa67327 (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 'sway/commands/seat/cursor.c')
0 files changed, 0 insertions, 0 deletions