mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +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,6 +518,7 @@ void Aquamarine::CDRMBackend::recheckCRTCs() {
|
|||
}
|
||||
|
||||
// tell the user to re-assign a valid mode etc
|
||||
if (c->output)
|
||||
c->output->events.state.emit(IOutput::SStateEvent{});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue