mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 19:38:01 +02:00
renderer: fix crash on mirrored outputs needing recalc (#13534)
ref https://github.com/hyprwm/Hyprland/discussions/13517
This commit is contained in:
parent
f8a47e05c4
commit
9803deeeeb
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
Reference in a new issue