Skip to content

Commit

Permalink
layout: set window size after toggling floating
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jan 24, 2025
1 parent 5d8261a commit 4a1b960
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/layout/IHyprLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,9 +788,8 @@ void IHyprLayout::changeWindowFloatingMode(PHLWINDOW pWindow) {
}

g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);

pWindow->updateToplevel();

g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize->goal());
g_pHyprRenderer->damageWindow(pWindow);
}

Expand Down

0 comments on commit 4a1b960

Please sign in to comment.