From ee15ad12154fc5c33e725a0f46d72bdef5945906 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 27 Jul 2022 18:02:20 +0200 Subject: [PATCH] render ls popups correctly --- src/render/Renderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index bf6b7116..658091c4 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -284,6 +284,9 @@ void CHyprRenderer::renderLayer(SLayerSurface* pLayer, CMonitor* pMonitor, times renderdata.w = pLayer->layerSurface->surface->current.width; renderdata.h = pLayer->layerSurface->surface->current.height; wlr_surface_for_each_surface(pLayer->layerSurface->surface, renderSurface, &renderdata); + + renderdata.squishOversized = false; // don't squish popups + wlr_layer_surface_v1_for_each_popup_surface(pLayer->layerSurface, renderSurface, &renderdata); } void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {