mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 09:10:08 +01:00
screencopy: fix possible crash in renderMon()
This commit is contained in:
parent
308226a4fc
commit
b77cbad502
1 changed files with 2 additions and 1 deletions
|
|
@ -246,6 +246,7 @@ void CScreencopyFrame::renderMon() {
|
||||||
|
|
||||||
const auto geom = l->m_geometry;
|
const auto geom = l->m_geometry;
|
||||||
const Vector2D popupBaseOffset = REALPOS - Vector2D{geom.pos().x, geom.pos().y};
|
const Vector2D popupBaseOffset = REALPOS - Vector2D{geom.pos().x, geom.pos().y};
|
||||||
|
if (l->m_popupHead)
|
||||||
l->m_popupHead->breadthfirst(hidePopups(popupBaseOffset), nullptr);
|
l->m_popupHead->breadthfirst(hidePopups(popupBaseOffset), nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue