From 575434f1a4cfce30cf89b62e5f1cce4b3c326b6e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 5 Aug 2022 18:08:23 +0200 Subject: [PATCH] fix rounding on switching only tiled --- src/layout/IHyprLayout.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 1b0502b3..48e6b005 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -263,6 +263,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) { pWindow->m_vRealSize = pWindow->m_vLastFloatingSize; g_pHyprRenderer->damageMonitor(g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID)); + + pWindow->m_sSpecialRenderData.rounding = true; } }