diff options
author | Vaxry <[email protected]> | 2024-07-22 12:37:54 +0200 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-07-22 12:38:05 +0200 |
commit | 5979ceb56b165ee35809a0eeda5f4be1aedbb7b6 (patch) | |
tree | 5bda43b74afdf9a24bd243c6306c55aba07ffdd4 /src/render | |
parent | 672bf1f8670b200da57e2f6de4e9ed7efd8c98fc (diff) | |
download | Hyprland-5979ceb56b165ee35809a0eeda5f4be1aedbb7b6.tar.gz Hyprland-5979ceb56b165ee35809a0eeda5f4be1aedbb7b6.zip |
surface: fixup logical damage size calculations
fixes #6618
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 84d607b8..835fed91 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1693,7 +1693,7 @@ void CHyprRenderer::damageSurface(SP<CWLSurfaceResource> pSurface, double x, dou return; const auto WLSURF = CWLSurface::fromResource(pSurface); - CRegion damageBox = WLSURF ? WLSURF->logicalDamage() : CRegion{}; + CRegion damageBox = WLSURF ? WLSURF->computeDamage() : CRegion{}; if (!WLSURF) { Debug::log(ERR, "BUG THIS: No CWLSurface for surface in damageSurface!!!"); return; |