smithay
smithay copied to clipboard
`prop_mapping` cache in `AtomicDrmDevice` doesn't handle connector hotplug
Cosmic-comp panics with Unknown handle in AtomicDrmDevice::reset_state on the Surface Pro 9 when:
- The compositor is started with no USB DisplayPort device
- Monitors are connected over USB-C; which adds DRM connectors
- TTY is switched away from cosmic-comp, and back
Presumably prop_mapping needs to be updated in this case.