mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 01:25:59 +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->scanConnectors();
|
||||
drmBackend->scanConnectors(false);
|
||||
|
||||
drmBackend->recheckCRTCs();
|
||||
|
||||
|
@ -279,7 +279,7 @@ bool Aquamarine::CDRMBackend::sessionActive() {
|
|||
void Aquamarine::CDRMBackend::restoreAfterVT() {
|
||||
backend->log(AQ_LOG_DEBUG, "drm: Restoring after VT switch");
|
||||
|
||||
scanConnectors();
|
||||
scanConnectors(false);
|
||||
recheckCRTCs();
|
||||
|
||||
backend->log(AQ_LOG_DEBUG, "drm: Rescanned connectors");
|
||||
|
|
Loading…
Reference in a new issue