From 1cf367f6851e9ffec7f93087b0a68fe93e4b1116 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 20 Dec 2021 00:54:24 +0200 Subject: [PATCH] layershell:fix View positioning function for panel --- app/view/positioner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/view/positioner.cpp b/app/view/positioner.cpp index 82d59512d..5251c5bdf 100644 --- a/app/view/positioner.cpp +++ b/app/view/positioner.cpp @@ -855,7 +855,8 @@ void Positioner::updatePosition(QRect availableScreenRect) } } - m_corona->wm()->setWindowPosition(m_view, m_view->location(), m_validGeometry); + QRect currentGeometry{position.x(), position.y(), m_validGeometry.width(), m_validGeometry.height()}; + m_corona->wm()->setWindowPosition(m_view, m_view->location(), currentGeometry); } int Positioner::slideOffset() const