aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-09-16 11:09:26 -0400
committerKen Moore <moorekou@gmail.com>2015-09-16 11:09:26 -0400
commit470d9b82a7269cfec9e6b9d79074deff7bb62dc9 (patch)
tree643dbc7c6f17e8168cbc271af43afd605f3a3434 /lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp
parentEnsure that the screen brightness slider in the system dashboard only goes do... (diff)
downloadlumina-470d9b82a7269cfec9e6b9d79074deff7bb62dc9.tar.gz
lumina-470d9b82a7269cfec9e6b9d79074deff7bb62dc9.tar.bz2
lumina-470d9b82a7269cfec9e6b9d79074deff7bb62dc9.zip
Fix up all the window activation detection/management within the lumina session. Now when a submenu on the panel is closed somehow or a window was modified with the task manager, it will properly find/activate the right window again.
Diffstat (limited to 'lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp')
-rw-r--r--lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp b/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp
index a1de725d..95c52d9a 100644
--- a/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp
+++ b/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.cpp
@@ -19,6 +19,7 @@ LDesktopSwitcher::LDesktopSwitcher(QWidget *parent, QString id, bool horizontal)
label->setToolTip(QString("Workspace 1"));
menu = new QMenu(this);
connect(menu, SIGNAL(triggered(QAction*)), this, SLOT(menuActionTriggered(QAction*)));
+ connect(menu, SIGNAL(aboutToHide()), this, SIGNAL(MenuClosed()));
label->setMenu(menu);
this->layout()->addWidget(label);
bgstack15