layershell: update render pos and size in arrange

fixes #5258
This commit is contained in:
Vaxry 2024-03-27 16:30:08 +00:00
parent ae52b7f468
commit 93d0511471

View file

@ -1618,6 +1618,9 @@ void CHyprRenderer::arrangeLayerArray(CMonitor* pMonitor, const std::vector<std:
if (Vector2D{box.width, box.height} != OLDSIZE) if (Vector2D{box.width, box.height} != OLDSIZE)
wlr_layer_surface_v1_configure(ls->layerSurface, box.width, box.height); wlr_layer_surface_v1_configure(ls->layerSurface, box.width, box.height);
ls->realPosition = box.pos();
ls->realSize = box.size();
} }
} }