Skip to content

session/logind: keep active for pause_device gone

Created by: RedSoxFan

This appears to be a quick fix for compositors freezing when a dock is disconnected. Disconnection of the dock is causing pause_device for the DRM devices associated with the dock. Since these devices major number is DRM_MAJOR, the session was being set to inactive. This just makes it so the session is not set to inactive when the device's state is gone.

Merge request reports