aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-10-04 13:30:13 +0100
committervaxerski <[email protected]>2023-10-04 13:30:13 +0100
commitf8c18ff7977cf034572cbabe161381465bc2b1ae (patch)
treeaf99ed76d5cf75b735462ad412a7860682b55ce9
parentf803be3d3150288710a924e3ca56ade9a1893f0f (diff)
downloadHyprland-f8c18ff7977cf034572cbabe161381465bc2b1ae.tar.gz
Hyprland-f8c18ff7977cf034572cbabe161381465bc2b1ae.zip
renderer: fixup solitary conditions
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 0d5d6d1d..bee1605d 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -2046,7 +2046,7 @@ void CHyprRenderer::recheckSolitaryForMonitor(CMonitor* pMonitor) {
}
for (auto& w : g_pCompositor->m_vWindows) {
- if (w->m_iWorkspaceID == PCANDIDATE->m_iWorkspaceID && w->m_bIsFloating && w->m_bCreatedOverFullscreen && !w->isHidden())
+ if (w->m_iWorkspaceID == PCANDIDATE->m_iWorkspaceID && w->m_bIsFloating && w->m_bCreatedOverFullscreen && !w->isHidden() && w->m_bIsMapped && w.get() != PCANDIDATE)
return;
}