1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-23 14:50:35 +03:00

layershell:fix View positioning function for panel

This commit is contained in:
Michail Vourlakos 2021-12-20 00:54:24 +02:00
parent a4a9017ef1
commit 1cf367f685

View File

@ -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