aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-28 16:30:33 -0400
committerKen Moore <moorekou@gmail.com>2015-07-28 16:30:33 -0400
commit56602b7e38006ce6787800d82ca9cd9c0672c37e (patch)
tree39eafd01149cdb74e636bd49a91bdfac45c59dcc /lumina-desktop
parentExpose the new "InitLocale" session options in lumina-config, and also fix a ... (diff)
downloadlumina-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')
-rw-r--r--lumina-desktop/LDesktop.h4
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*);
bgstack15