mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 20:39:49 +01:00
drm: avoid sending state to non-existent outputs
This commit is contained in:
parent
42585b413d
commit
acba4aa037
1 changed files with 2 additions and 1 deletions
|
@ -518,7 +518,8 @@ void Aquamarine::CDRMBackend::recheckCRTCs() {
|
|||
}
|
||||
|
||||
// tell the user to re-assign a valid mode etc
|
||||
c->output->events.state.emit(IOutput::SStateEvent{});
|
||||
if (c->output)
|
||||
c->output->events.state.emit(IOutput::SStateEvent{});
|
||||
}
|
||||
|
||||
if (rescan)
|
||||
|
|
Loading…
Reference in a new issue