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/MasterLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/MasterLayout.cpp') diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index ff7f9e2e..086bcdac 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -1407,7 +1407,7 @@ void CHyprMasterLayout::replaceWindowDataWith(CWindow* from, CWindow* to) { void CHyprMasterLayout::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