Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqa-Ib committed Sep 22, 2024
1 parent 6aba6e8 commit 7340fa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layout/IHyprLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Hyprlang::INT>("group:auto_group");
const auto PLASTWINDOW = g_pCompositor->m_pLastWindow;
static auto AUTOGROUP = CConfigValue<Hyprlang::INT>("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())) {

Expand Down

0 comments on commit 7340fa8

Please sign in to comment.