screencopy: ignore hidden windows in noscreenshare

fixes #11002
This commit is contained in:
Vaxry 2025-07-12 18:22:47 +02:00
parent 8bfff87833
commit d0f58baf29
No known key found for this signature in database
GPG key ID: 665806380871D640

View file

@ -211,6 +211,9 @@ void CScreencopyFrame::renderMon() {
if (!g_pHyprRenderer->shouldRenderWindow(w, m_monitor.lock()))
continue;
if (w->isHidden())
continue;
const auto PWORKSPACE = w->m_workspace;
if UNLIKELY (!PWORKSPACE)