From 824ccd957b422e010d1c0d55961ed98386bb19b6 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 12 Nov 2023 22:59:19 +0000 Subject: [PATCH] renderer: pass proper arg to main param of uv calcs was fucking up some non-fitting subsurfaces --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 65aa7138..ad3046e3 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -66,7 +66,7 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) { if (windowBox.width <= 1 || windowBox.height <= 1) return; // invisible - g_pHyprRenderer->calculateUVForSurface(RDATA->pWindow, surface, RDATA->squishOversized); + g_pHyprRenderer->calculateUVForSurface(RDATA->pWindow, surface, RDATA->surface == surface); windowBox.scale(RDATA->pMonitor->scale); windowBox.round();