Verified Commit 17a585b5 authored by Xuetian Weng's avatar Xuetian Weng
Browse files

Always apply size change from xdg_popup_reposition.

BUG: 436106
parent 9ad83daf
......@@ -1880,10 +1880,7 @@ QRect XdgPopupClient::transientPlacement(const QRect &bounds) const
{
const XdgPositioner positioner = m_shellSurface->positioner();
QSize desiredSize = size();
if (desiredSize.isEmpty()) {
desiredSize = positioner.size();
}
const QSize desiredSize = positioner.size();
const QPoint parentPosition = transientFor()->framePosToClientPos(transientFor()->pos());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment