Commit 16613309 authored by pontaoski's avatar pontaoski 🌈
Browse files

[applets/appmenu] Listen to more signals to ensure that appmenu applet can...

[applets/appmenu] Listen to more signals to ensure that appmenu applet can reliably catch the active window changing

BUG: 422786
BUG: 422260
parent 94f721d8
......@@ -58,6 +58,9 @@ AppMenuModel::AppMenuModel(QObject *parent)
{
m_tasksModel->setFilterByScreen(true);
connect(m_tasksModel, &TaskManager::TasksModel::activeTaskChanged, this, &AppMenuModel::onActiveWindowChanged);
connect(m_tasksModel, &TaskManager::TasksModel::activityChanged, this, &AppMenuModel::onActiveWindowChanged);
connect(m_tasksModel, &TaskManager::TasksModel::virtualDesktopChanged, this, &AppMenuModel::onActiveWindowChanged);
connect(m_tasksModel, &TaskManager::TasksModel::countChanged, this, &AppMenuModel::onActiveWindowChanged);
connect(m_tasksModel, &TaskManager::TasksModel::screenGeometryChanged, this, &AppMenuModel::screenGeometryChanged);
connect(this, &AppMenuModel::modelNeedsUpdate, this, [this] {
......
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