[ContainmentInterface] Also align containment context menu to panel
There's no point in only aligning applet context menus to the panel. Differential Revision: https://phabricator.kde.org/D4453
This commit is contained in:
parent
c32b01a6da
commit
1b02bfdff7
@ -924,7 +924,7 @@ void ContainmentInterface::mousePressEvent(QMouseEvent *event)
|
||||
}
|
||||
|
||||
QPoint pos = event->globalPos();
|
||||
if (window() && applet && m_containment->containmentType() == Plasma::Types::PanelContainment) {
|
||||
if (window() && m_containment->containmentType() == Plasma::Types::PanelContainment) {
|
||||
desktopMenu->adjustSize();
|
||||
|
||||
if (QScreen *screen = window()->screen()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user