prevent assert killing Hyprland after reenabling monitor

This commit is contained in:
tomahk 2022-09-19 20:44:33 +02:00
parent 3780361b95
commit 73e19aee6f

View file

@ -65,6 +65,8 @@ void CMonitor::onConnect(bool noRule) {
}
if (!m_bRenderingInitPassed) {
output->allocator = NULL;
output->renderer = NULL;
wlr_output_init_render(output, g_pCompositor->m_sWLRAllocator, g_pCompositor->m_sWLRRenderer);
m_bRenderingInitPassed = true;
}