aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-10-04 09:44:03 +0100
committervaxerski <[email protected]>2023-10-04 09:44:07 +0100
commit2901bb0d2f69f90bc4e2f8fabbc78a0df8130523 (patch)
tree1f8cc268a38e4e9404ab98336bf7647ee79b8f95
parentd61e4f9ad75d51f15eac6bced13439899d66a950 (diff)
downloadHyprland-2901bb0d2f69f90bc4e2f8fabbc78a0df8130523.tar.gz
Hyprland-2901bb0d2f69f90bc4e2f8fabbc78a0df8130523.zip
renderer: add further conditions to solitary recheck
-rw-r--r--src/render/Renderer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index f0d00592..0d5d6d1d 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -2045,6 +2045,14 @@ void CHyprRenderer::recheckSolitaryForMonitor(CMonitor* pMonitor) {
return;
}
+ for (auto& w : g_pCompositor->m_vWindows) {
+ if (w->m_iWorkspaceID == PCANDIDATE->m_iWorkspaceID && w->m_bIsFloating && w->m_bCreatedOverFullscreen && !w->isHidden())
+ return;
+ }
+
+ if (pMonitor->specialWorkspaceID != 0)
+ return;
+
// check if it did not open any subsurfaces or shit
int surfaceCount = 0;
if (PCANDIDATE->m_bIsX11) {