mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 13:03:48 -07:00
surface: fix zero_scaling xwayland damage
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user