reset layout-set render vars on floating

This commit is contained in:
vaxerski
2023-01-31 12:15:34 +00:00
parent 11234529db
commit eaf0fb14c9
3 changed files with 10 additions and 0 deletions

View File

@@ -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;