mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 10:25:58 +01:00
surface: fix zero_scaling xwayland damage
This commit is contained in:
parent
752604cfe9
commit
077494ee85
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue