Skip to content

Commit

Permalink
Removed brackets for 1-line if
Browse files Browse the repository at this point in the history
  • Loading branch information
tomben13 committed Feb 3, 2025
1 parent dbfd329 commit 75b711d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/events/Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
// Verify window swallowing. Get the swallower before calling onWindowCreated(PWINDOW) because getSwallower() wouldn't get it after if PWINDOW gets auto grouped.
const auto SWALLOWER = PWINDOW->getSwallower();
PWINDOW->m_pSwallowed = SWALLOWER;
if (PWINDOW->m_pSwallowed) {
if (PWINDOW->m_pSwallowed)
PWINDOW->m_pSwallowed->m_bCurrentlySwallowed = true;
}

if (PWINDOW->m_bIsFloating) {
g_pLayoutManager->getCurrentLayout()->onWindowCreated(PWINDOW);
Expand Down

0 comments on commit 75b711d

Please sign in to comment.