diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-28 16:30:33 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-28 16:30:33 -0400 |
commit | 56602b7e38006ce6787800d82ca9cd9c0672c37e (patch) | |
tree | 39eafd01149cdb74e636bd49a91bdfac45c59dcc /lumina-desktop/LDesktop.h | |
parent | Expose the new "InitLocale" session options in lumina-config, and also fix a ... (diff) | |
download | lumina-56602b7e38006ce6787800d82ca9cd9c0672c37e.tar.gz lumina-56602b7e38006ce6787800d82ca9cd9c0672c37e.tar.bz2 lumina-56602b7e38006ce6787800d82ca9cd9c0672c37e.zip |
Oops, forgot to translate the internal QPoint to a global point before showing the menu in LDesktop.
Diffstat (limited to 'lumina-desktop/LDesktop.h')
-rw-r--r-- | lumina-desktop/LDesktop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/LDesktop.h b/lumina-desktop/LDesktop.h index c2089c7b..b476deab 100644 --- a/lumina-desktop/LDesktop.h +++ b/lumina-desktop/LDesktop.h @@ -87,9 +87,9 @@ private slots: void UpdateMenu(bool fast = false); void ShowMenu(const QPoint &pt = QPoint()){ UpdateMenu(true); //run the fast version - qDebug() << "Show Context Menu:" << QCursor::pos() << pt; + //qDebug() << "Show Context Menu:" << QCursor::pos() << pt; if(pt.isNull()){ deskMenu->popup(QCursor::pos()); } - else{ deskMenu->popup(pt); } + else{ deskMenu->popup( bgWindow->mapToGlobal(pt)); } } void UpdateWinMenu(); void winClicked(QAction*); |