mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
drm: nullcheck output in reset
This commit is contained in:
parent
ea92cba414
commit
29c415a4f5
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void Aquamarine::CDRMBackend::restoreAfterVT() {
|
|||
backend->log(AQ_LOG_ERROR, "drm: failed reset");
|
||||
|
||||
for (auto& c : connectors) {
|
||||
if (!c->crtc)
|
||||
if (!c->crtc || !c->output)
|
||||
continue;
|
||||
|
||||
SDRMConnectorCommitData data = {
|
||||
|
|
Loading…
Reference in a new issue