diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 1b47fb66..e2a32c91 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -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) {