Commit 3c31b7a6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Set transient parent for file menu

Required on Wayland so it can be properly positioned.

BUG: 387597
FIXED-IN: 5.18.0

Differential Revision: https://phabricator.kde.org/D26943
parent 3ba955f4
......@@ -178,6 +178,8 @@ void FileMenu::open(int x, int y)
pos = m_visualParent->mapToGlobal(QPointF(x, y)).toPoint();
}
menu->winId();
menu->windowHandle()->setTransientParent(m_visualParent->window());
menu->popup(pos);
m_visible = true;
......
Markdown is supported
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