mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
drm: ignore crtc-less connectors in scanConnectors
This commit is contained in:
parent
aa0c2157e8
commit
0027280d27
1 changed files with 4 additions and 1 deletions
|
@ -451,7 +451,10 @@ void Aquamarine::CDRMBackend::scanConnectors() {
|
|||
} else
|
||||
conn = *it;
|
||||
|
||||
backend->log(AQ_LOG_DEBUG, std::format("drm: Connectors size {}", connectors.size()));
|
||||
if (!conn->crtc) {
|
||||
backend->log(AQ_LOG_DEBUG, std::format("drm: Ignoring connector {} because it has no CRTC", connectorID));
|
||||
continue;
|
||||
}
|
||||
|
||||
backend->log(AQ_LOG_DEBUG, std::format("drm: Connector {} connection state: {}", connectorID, (int)drmConn->connection));
|
||||
|
||||
|
|
Loading…
Reference in a new issue