diff options
author | vaxerski <[email protected]> | 2024-03-27 16:30:08 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2024-03-27 16:30:08 +0000 |
commit | 93d05114716e847c37f49d3cc2d0c5cb01d06a24 (patch) | |
tree | 4f526beb8be91d071fc32890cca6e36488c3a28a | |
parent | ae52b7f4680716976d05b638aaa90e169d199117 (diff) | |
download | Hyprland-93d05114716e847c37f49d3cc2d0c5cb01d06a24.tar.gz Hyprland-93d05114716e847c37f49d3cc2d0c5cb01d06a24.zip |
layershell: update render pos and size in arrange
fixes #5258
-rw-r--r-- | src/render/Renderer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index f94a3688..c48bbdd4 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1618,6 +1618,9 @@ void CHyprRenderer::arrangeLayerArray(CMonitor* pMonitor, const std::vector<std: if (Vector2D{box.width, box.height} != OLDSIZE) wlr_layer_surface_v1_configure(ls->layerSurface, box.width, box.height); + + ls->realPosition = box.pos(); + ls->realSize = box.size(); } } |