screencopy: fix possible crash in renderMon()

This commit is contained in:
Vaxry 2025-11-12 22:43:46 +00:00
parent 308226a4fc
commit b77cbad502
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -246,6 +246,7 @@ void CScreencopyFrame::renderMon() {
const auto geom = l->m_geometry;
const Vector2D popupBaseOffset = REALPOS - Vector2D{geom.pos().x, geom.pos().y};
if (l->m_popupHead)
l->m_popupHead->breadthfirst(hidePopups(popupBaseOffset), nullptr);
}