diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 4511b9ca..5c5e8be0 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -341,7 +341,6 @@ void CHyprDwindleLayout::onWindowCreatedTiling(CWindow* pWindow) { pWindow->updateWindowDecos(); recalculateWindow(pWindow); - g_pCompositor->focusWindow(pWindow); return; } } diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 055f4e3f..42e2175c 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -120,7 +120,6 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow) { pWindow->updateWindowDecos(); recalculateWindow(pWindow); - g_pCompositor->focusWindow(pWindow); return; } }