Skip to content

Commit

Permalink
decorations: fix manual resize not recalculating decos (#7323)
Browse files Browse the repository at this point in the history
modified:   src/layout/DwindleLayout.cpp
modified:   src/layout/MasterLayout.cpp
  • Loading branch information
MightyPlaza authored Aug 13, 2024
1 parent c5ec079 commit 3b4aabe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layout/DwindleLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ void CHyprDwindleLayout::applyNodeDataToWindow(SDwindleNodeData* pNode, bool for

g_pHyprRenderer->damageWindow(PWINDOW);
}

PWINDOW->updateWindowDecos();
}

void CHyprDwindleLayout::onWindowCreatedTiling(PHLWINDOW pWindow, eDirection direction) {
Expand Down
2 changes: 2 additions & 0 deletions src/layout/MasterLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,8 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) {

g_pHyprRenderer->damageWindow(PWINDOW);
}

PWINDOW->updateWindowDecos();
}

bool CHyprMasterLayout::isWindowTiled(PHLWINDOW pWindow) {
Expand Down

0 comments on commit 3b4aabe

Please sign in to comment.