mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 08:05:59 +01:00
parent
09e1128da2
commit
86dc46ffea
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void CAnimationManager::tick() {
|
||||||
BORDERSIZE + ROUNDINGSIZE); // bottom
|
BORDERSIZE + ROUNDINGSIZE); // bottom
|
||||||
|
|
||||||
// damage for new box
|
// damage for new box
|
||||||
CBox WLRBOXNEW = PWINDOW->getFullWindowBoundingBox();
|
CBox WLRBOXNEW = {PWINDOW->m_vRealPosition.value(), PWINDOW->m_vRealSize.value()};
|
||||||
const auto PWINDOWWORKSPACE = g_pCompositor->getWorkspaceByID(PWINDOW->m_iWorkspaceID);
|
const auto PWINDOWWORKSPACE = g_pCompositor->getWorkspaceByID(PWINDOW->m_iWorkspaceID);
|
||||||
if (PWINDOWWORKSPACE)
|
if (PWINDOWWORKSPACE)
|
||||||
WLRBOXNEW.translate(PWINDOWWORKSPACE->m_vRenderOffset.value());
|
WLRBOXNEW.translate(PWINDOWWORKSPACE->m_vRenderOffset.value());
|
||||||
|
|
Loading…
Reference in a new issue