handle unmanaged X11 setGeometry

This commit is contained in:
vaxerski
2022-07-08 11:24:07 +02:00
parent 75a580feda
commit 491b99c61e
6 changed files with 34 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ void CAnimationManager::tick() {
// 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)
if (g_pCompositor->windowValidMapped(PWINDOW) && av->m_eDamagePolicy == AVARDAMAGE_ENTIRE && PWINDOW->m_iX11Type != 2)
g_pXWaylandManager->setWindowSize(PWINDOW, PWINDOW->m_vRealSize.goalv());
// manually schedule a frame