Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 90466f3c authored by Roman Geints's avatar Roman Geints Committed by David Edmundson

Fix Klipper popup opening on default screen instead of at cursor position

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: mvourlakos, romangeints, plasma-devel

Tags: #plasma

Differential Revision:
parent 31e1a1a9
......@@ -373,15 +373,7 @@ void Klipper::showPopupMenu( QMenu* menu )
Q_ASSERT( menu != nullptr );
QSize size = menu->sizeHint(); // geometry is not valid until it's shown
QPoint pos = QCursor::pos();
// ### We can't know where the systray icon is (since it can be hidden or shown
// in several places), so the cursor position is the only option.
if ( size.height() < pos.y() )
pos.ry() -= size.height();
bool Klipper::loadHistory() {
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