drm: avoid sending state to non-existent outputs

This commit is contained in:
Vaxry 2024-07-08 17:20:41 +02:00
parent 42585b413d
commit acba4aa037

View file

@ -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{});
}