summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-12-17 20:00:18 +0000
committerVaxry <vaxry@vaxry.net>2023-12-17 20:00:18 +0000
commit9fd928e114d7f57ac03aa7430d9cba41843347de (patch)
treefe019aba7fa3b1f816d8306f8051ac4dc9448f67 /src/layout/MasterLayout.cpp
parentbf7374011b17776137c6cadb016695ef05926c6c (diff)
internal: nuke CWindow::m_bMappedX11
it's useless. m_bIsMapped is the same.
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp2
1 files changed, 1 insertions, 1 deletions
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());