renderer: fix crash on mirrored outputs needing recalc (#13534)
ref https://github.com/hyprwm/Hyprland/discussions/13517
This commit is contained in:
parent
4f44df7b17
commit
ff0b706ea3
1 changed files with 2 additions and 1 deletions
|
|
@ -1305,7 +1305,8 @@ void CHyprRenderer::renderMonitor(PHLMONITOR pMonitor, bool commit) {
|
|||
|
||||
if (pMonitor->m_scheduledRecalc) {
|
||||
pMonitor->m_scheduledRecalc = false;
|
||||
pMonitor->m_activeWorkspace->m_space->recalculate();
|
||||
if (pMonitor->m_activeWorkspace) // might be missing (mirror)
|
||||
pMonitor->m_activeWorkspace->m_space->recalculate();
|
||||
}
|
||||
|
||||
if (!pMonitor->m_output->needsFrame && pMonitor->m_forceFullFrames == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue