aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-07-23 19:56:42 +0200
committerVaxry <[email protected]>2024-07-23 19:56:47 +0200
commit077494ee85c8fa4c6ae74ad8d749feea826294d2 (patch)
tree9b89e2aded564d699248ff5f1908ccb2999ae46f
parent752604cfe954bd96bd6b5aca3e80dafb6a426cfb (diff)
downloadHyprland-077494ee85c8fa4c6ae74ad8d749feea826294d2.tar.gz
Hyprland-077494ee85c8fa4c6ae74ad8d749feea826294d2.zip
surface: fix zero_scaling xwayland damage
-rw-r--r--src/desktop/WLSurface.cpp3
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;
}