mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 07:10:02 +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,7 +246,8 @@ void CScreencopyFrame::renderMon() {
|
|||
|
||||
const auto geom = l->m_geometry;
|
||||
const Vector2D popupBaseOffset = REALPOS - Vector2D{geom.pos().x, geom.pos().y};
|
||||
l->m_popupHead->breadthfirst(hidePopups(popupBaseOffset), nullptr);
|
||||
if (l->m_popupHead)
|
||||
l->m_popupHead->breadthfirst(hidePopups(popupBaseOffset), nullptr);
|
||||
}
|
||||
|
||||
for (auto const& w : g_pCompositor->m_windows) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue