surface: fix zero_scaling xwayland damage

This commit is contained in:
Vaxry 2024-07-23 19:56:42 +02:00
parent 752604cfe9
commit 077494ee85

View file

@ -118,6 +118,9 @@ CRegion CWLSurface::computeDamage() const {
damage.scale(SCALE); damage.scale(SCALE);
if (m_pWindowOwner)
damage.scale(m_pWindowOwner->m_fX11SurfaceScaledBy); // fix xwayland:force_zero_scaling stuff that will be fucked by the above a bit
return damage; return damage;
} }