backend/drm: drop WLR_DRM_CONN_NEEDS_MODESET

- Add wlr_output.enabled checks to CONNECTED checks
- Replace NEEDS_MODESET with CONNECTED
This commit is contained in:
Simon Ser 2022-07-28 10:33:45 +02:00 committed by Simon Zeni
parent 6a5fb22698
commit 08973d2430
2 changed files with 6 additions and 15 deletions

View file

@ -93,8 +93,6 @@ struct wlr_drm_backend {
enum wlr_drm_connector_status {
// Connector is available but no output is plugged in
WLR_DRM_CONN_DISCONNECTED,
// An output just has been plugged in and is waiting for a modeset
WLR_DRM_CONN_NEEDS_MODESET,
WLR_DRM_CONN_CONNECTED,
};