mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-01-01 20:22:24 +03:00
dont change size if partial damage
This commit is contained in:
parent
e71514fa26
commit
359bb2bdda
@ -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 New Issue
Block a user