diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-01-23 22:15:09 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-01-23 22:15:14 +0000 |
| commit | a8c2d5a616b2ac9c0cf66a0bc999ae57338b60d9 (patch) | |
| tree | 9a8cec7196b15a2f6cfbb9e87483b5beeb5a8f41 /src/layout/IHyprLayout.cpp | |
| parent | 465cf66df14c28427ba30580253be6e3908bd28c (diff) | |
layout: damage window properly on float mode changes
fixes #8849
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 576d80eb..9fc84b22 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -717,6 +717,8 @@ void IHyprLayout::changeWindowFloatingMode(PHLWINDOW pWindow) { pWindow->m_bPinned = false; + g_pHyprRenderer->damageWindow(pWindow); + const auto TILED = isWindowTiled(pWindow); // event @@ -788,6 +790,8 @@ void IHyprLayout::changeWindowFloatingMode(PHLWINDOW pWindow) { g_pCompositor->updateWindowAnimatedDecorationValues(pWindow); pWindow->updateToplevel(); + + g_pHyprRenderer->damageWindow(pWindow); } void IHyprLayout::moveActiveWindow(const Vector2D& delta, PHLWINDOW pWindow) { |
