screencopy: fix applying noscreenshare to invisible special workspaces (#10628)

This commit is contained in:
XPhyro 2025-06-05 23:29:01 +03:00 committed by GitHub
parent 423b69f5d3
commit fb7548cb41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,7 +206,7 @@ void CScreencopyFrame::renderMon() {
if (!w->m_windowData.noScreenShare.valueOrDefault()) if (!w->m_windowData.noScreenShare.valueOrDefault())
continue; continue;
if (!g_pHyprRenderer->shouldRenderWindow(w)) if (!g_pHyprRenderer->shouldRenderWindow(w, m_monitor.lock()))
continue; continue;
const auto PWORKSPACE = w->m_workspace; const auto PWORKSPACE = w->m_workspace;