From 9fd928e114d7f57ac03aa7430d9cba41843347de Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 17 Dec 2023 20:00:18 +0000 Subject: internal: nuke CWindow::m_bMappedX11 it's useless. m_bIsMapped is the same. --- src/layout/DwindleLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/DwindleLayout.cpp') diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index c1009a47..b30d0fb6 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -1044,7 +1044,7 @@ std::string CHyprDwindleLayout::getLayoutName() { void CHyprDwindleLayout::onEnable() { for (auto& w : g_pCompositor->m_vWindows) { - if (w->m_bIsFloating || !w->m_bMappedX11 || !w->m_bIsMapped || w->isHidden()) + if (w->m_bIsFloating || !w->m_bIsMapped || w->isHidden()) continue; onWindowCreatedTiling(w.get()); -- cgit v1.2.3