mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 23:45:58 +01:00
dont change size if partial damage
This commit is contained in:
parent
e71514fa26
commit
359bb2bdda
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ void CAnimationManager::tick() {
|
|||
}
|
||||
|
||||
|
||||
// set size and pos if valid
|
||||
if (g_pCompositor->windowValidMapped(PWINDOW))
|
||||
// set size and pos if valid, but only if damage policy entire (dont if border for example)
|
||||
if (g_pCompositor->windowValidMapped(PWINDOW) && av->m_eDamagePolicy == AVARDAMAGE_ENTIRE)
|
||||
g_pXWaylandManager->setWindowSize(PWINDOW, PWINDOW->m_vRealSize.goalv());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue