diff options
author | Vaxry <[email protected]> | 2024-07-23 19:56:42 +0200 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-07-23 19:56:47 +0200 |
commit | 077494ee85c8fa4c6ae74ad8d749feea826294d2 (patch) | |
tree | 9b89e2aded564d699248ff5f1908ccb2999ae46f | |
parent | 752604cfe954bd96bd6b5aca3e80dafb6a426cfb (diff) | |
download | Hyprland-077494ee85c8fa4c6ae74ad8d749feea826294d2.tar.gz Hyprland-077494ee85c8fa4c6ae74ad8d749feea826294d2.zip |
surface: fix zero_scaling xwayland damage
-rw-r--r-- | src/desktop/WLSurface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop/WLSurface.cpp b/src/desktop/WLSurface.cpp index a7a2e5aa..90924145 100644 --- a/src/desktop/WLSurface.cpp +++ b/src/desktop/WLSurface.cpp @@ -118,6 +118,9 @@ CRegion CWLSurface::computeDamage() const { 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; } |