From 470d9b82a7269cfec9e6b9d79074deff7bb62dc9 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 16 Sep 2015 11:09:26 -0400 Subject: 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. --- lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lumina-desktop/panel-plugins/systemdashboard') diff --git a/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp b/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp index 45de0126..267a7cb0 100644 --- a/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp +++ b/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp @@ -18,6 +18,7 @@ LSysDashboard::LSysDashboard(QWidget *parent, QString id, bool horizontal) : LPP this->layout()->setContentsMargins(0,0,0,0); this->layout()->addWidget(button); menu = new QMenu(this); + connect(menu, SIGNAL(aboutToHide()), this, SIGNAL(MenuClosed())); sysmenu = new LSysMenuQuick(this); connect(sysmenu, SIGNAL(CloseMenu()), this, SLOT(closeMenu()) ); mact = new QWidgetAction(this); -- cgit