Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqa-Ib committed Oct 25, 2024
1 parent 531a358 commit f262f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ void Events::listener_mapWindow(void* owner, void* data) {

PWINDOW->updateWindowData();

// get the swallower before onWindowCreated() because getSwallower() wouldn't find it after if PWINDOW gets auto grouped.
// Verify window swallowing. Get the swallower before calling onWindowCreated(PWINDOW) because getSwallower() won't get it after PWINDOW gets auto grouped.
const auto SWALLOWER = PWINDOW->getSwallower();
PWINDOW->m_pSwallowed = SWALLOWER;

Expand Down

0 comments on commit f262f59

Please sign in to comment.