Make sure input device configuration is destroyed together with seat
commita0d4afebd9fe0295936a7a7123fcf78e3770e2b6
authorJiri Svoboda <jiri@wiwaxia>
Wed, 18 Jan 2023 16:51:44 +0000 (18 17:51 +0100)
committerJiri Svoboda <jiri@wiwaxia>
Wed, 18 Jan 2023 16:51:44 +0000 (18 17:51 +0100)
treeda782a1596576ea371760161559ca3cdda9df1d4
parentb0ae23fe23288a6b5e26debedde1069676c9544e
Make sure input device configuration is destroyed together with seat

When a seat is destroyed without unassigning devices first, this causes
a dangling seat pointer that would cause the display server to crash
if the corresponding device generates an event.
uspace/srv/hid/display/display.c
uspace/srv/hid/display/idevcfg.c
uspace/srv/hid/display/seat.c
uspace/srv/hid/display/seat.h
uspace/srv/hid/display/types/display/idevcfg.h
uspace/srv/hid/display/types/display/seat.h