summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-01-31 12:15:34 +0000
committervaxerski <vaxry@vaxry.net>2023-01-31 12:15:40 +0000
commiteaf0fb14c933e49342afb0ae421e992dd84df8b9 (patch)
tree41efd9171edda1679c19984ac86425687b1ec968 /src/layout/IHyprLayout.cpp
parent11234529dbc5f85fc46df479f563c2c563afe9c2 (diff)
reset layout-set render vars on floating
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 70959d3b..1cddcdaa 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -354,6 +354,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
g_pHyprRenderer->damageMonitor(g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID));
pWindow->m_sSpecialRenderData.rounding = true;
+ pWindow->m_sSpecialRenderData.border = true;
+ pWindow->m_sSpecialRenderData.decorate = true;
if (pWindow == m_pLastTiledWindow)
m_pLastTiledWindow = nullptr;