From 7340fa8708f48b98faf9f42ad6f76182e66497ff Mon Sep 17 00:00:00 2001 From: Aqa-Ib Date: Sun, 22 Sep 2024 21:37:07 +0200 Subject: [PATCH] clang-format --- src/layout/IHyprLayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index ef9489e0d84..9a0eed758d7 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -82,8 +82,8 @@ void IHyprLayout::onWindowRemovedFloating(PHLWINDOW pWindow) { void IHyprLayout::onWindowCreatedFloating(PHLWINDOW pWindow) { // auto group the window if the last window is a floating group - static auto AUTOGROUP = CConfigValue("group:auto_group"); - const auto PLASTWINDOW = g_pCompositor->m_pLastWindow; + static auto AUTOGROUP = CConfigValue("group:auto_group"); + const auto PLASTWINDOW = g_pCompositor->m_pLastWindow; if (*AUTOGROUP && PLASTWINDOW && PLASTWINDOW->m_bIsFloating && PLASTWINDOW->m_sGroupData.pNextWindow // target is a floating group && pWindow->canBeGroupedInto(PLASTWINDOW.lock())) {