summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2022-08-14 16:39:56 +0200
committervaxerski <vaxry@vaxry.net>2022-08-14 16:39:56 +0200
commit28867758c486b12ebe387d72bba2be67a7dc8a2a (patch)
tree1a02e1cb300a731681fe15951892eea0eee844bc /src/layout/DwindleLayout.cpp
parent920727cbbaf8e8f244bb60f3731148773924034e (diff)
better fix the last fix
Diffstat (limited to 'src/layout/DwindleLayout.cpp')
-rw-r--r--src/layout/DwindleLayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index 192fe7c2..15388bf3 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -628,6 +628,9 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree
if (!g_pCompositor->windowValidMapped(pWindow))
return;
+ if (!g_pCompositor->isWorkspaceVisible(pWindow->m_iWorkspaceID))
+ return;
+
if (on == pWindow->m_bIsFullscreen)
return; // ignore