mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 10:29:48 +01:00
drm: don't connect before crtcs are guaranteed (#68)
This commit is contained in:
parent
23c7925dd3
commit
561f50bfae
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ std::vector<SP<CDRMBackend>> Aquamarine::CDRMBackend::attempt(SP<CBackend> backe
|
||||||
|
|
||||||
drmBackend->grabFormats();
|
drmBackend->grabFormats();
|
||||||
|
|
||||||
drmBackend->scanConnectors();
|
drmBackend->scanConnectors(false);
|
||||||
|
|
||||||
drmBackend->recheckCRTCs();
|
drmBackend->recheckCRTCs();
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ bool Aquamarine::CDRMBackend::sessionActive() {
|
||||||
void Aquamarine::CDRMBackend::restoreAfterVT() {
|
void Aquamarine::CDRMBackend::restoreAfterVT() {
|
||||||
backend->log(AQ_LOG_DEBUG, "drm: Restoring after VT switch");
|
backend->log(AQ_LOG_DEBUG, "drm: Restoring after VT switch");
|
||||||
|
|
||||||
scanConnectors();
|
scanConnectors(false);
|
||||||
recheckCRTCs();
|
recheckCRTCs();
|
||||||
|
|
||||||
backend->log(AQ_LOG_DEBUG, "drm: Rescanned connectors");
|
backend->log(AQ_LOG_DEBUG, "drm: Rescanned connectors");
|
||||||
|
|
Loading…
Reference in a new issue