mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 06:06:00 +01:00
drm: do not assign many crtcs to single port
This commit is contained in:
parent
65d70c7a30
commit
42585b413d
1 changed files with 1 additions and 0 deletions
|
@ -501,6 +501,7 @@ void Aquamarine::CDRMBackend::recheckCRTCs() {
|
||||||
backend->log(AQ_LOG_DEBUG, std::format("drm: slot {} crtc {} assigned to {} (old {})", i, crtcs.at(i)->id, c->szName, c->crtc ? c->crtc->id : -1));
|
backend->log(AQ_LOG_DEBUG, std::format("drm: slot {} crtc {} assigned to {} (old {})", i, crtcs.at(i)->id, c->szName, c->crtc ? c->crtc->id : -1));
|
||||||
assigned = true;
|
assigned = true;
|
||||||
changed.emplace_back(c);
|
changed.emplace_back(c);
|
||||||
|
std::erase(recheck, c);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue