deco: fix groupbar offset (#5364)

This commit is contained in:
thejch 2024-03-31 18:58:21 -07:00 committed by GitHub
parent ecc1f22e05
commit 9ae0c47a21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -508,7 +508,7 @@ CBox CHyprGroupBarDecoration::assignedBoxGlobal() {
const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(m_pWindow->m_iWorkspaceID); const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(m_pWindow->m_iWorkspaceID);
if (PWORKSPACE && PWORKSPACE->m_vRenderOffset.isBeingAnimated() && !m_pWindow->m_bPinned) if (PWORKSPACE && !m_pWindow->m_bPinned)
box.translate(PWORKSPACE->m_vRenderOffset.value()); box.translate(PWORKSPACE->m_vRenderOffset.value());
return box; return box;