aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_default.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-12-14 01:57:51 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-12-14 09:31:42 -0500
commit218b5b9dc0f90693be0a77f0bd3001f1912b86aa (patch)
treeec9187d2749807334c77e1bcb67988b7de8a1684 /sway/input/seatop_default.c
parentinput/keyboard: defer wlr_keyboard_group destroy (diff)
downloadsway-218b5b9dc0f90693be0a77f0bd3001f1912b86aa.tar.gz
sway-218b5b9dc0f90693be0a77f0bd3001f1912b86aa.tar.zst
sway-218b5b9dc0f90693be0a77f0bd3001f1912b86aa.zip
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/input/seatop_default.c')
0 files changed, 0 insertions, 0 deletions