From a781c152ff9805c1a5c69c6d8575deee6fdce34b Mon Sep 17 00:00:00 2001 From: memchr <118117622+memchr@users.noreply.github.com> Date: Sun, 10 Sep 2023 11:55:18 +0000 Subject: [PATCH] fix(layout): remove `focusWindow` calls from `onWindowCreatedTiling` (#3233) --- src/layout/DwindleLayout.cpp | 1 - src/layout/MasterLayout.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 4511b9cab..5c5e8be00 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 055f4e3f0..42e2175cb 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; } }