Pass resource name to Plasma window management protocol
This commit is contained in:
parent
35c0aca980
commit
c1a895effa
1 changed files with 1 additions and 0 deletions
|
@ -1548,6 +1548,7 @@ void AbstractClient::setupWindowManagementInterface()
|
||||||
w->setApplicationMenuPaths(applicationMenuServiceName(), applicationMenuObjectPath());
|
w->setApplicationMenuPaths(applicationMenuServiceName(), applicationMenuObjectPath());
|
||||||
w->setIcon(icon());
|
w->setIcon(icon());
|
||||||
auto updateAppId = [this, w] {
|
auto updateAppId = [this, w] {
|
||||||
|
w->setResourceName(resourceName());
|
||||||
w->setAppId(QString::fromUtf8(m_desktopFileName.isEmpty() ? resourceClass() : m_desktopFileName));
|
w->setAppId(QString::fromUtf8(m_desktopFileName.isEmpty() ? resourceClass() : m_desktopFileName));
|
||||||
};
|
};
|
||||||
updateAppId();
|
updateAppId();
|
||||||
|
|
Loading…
Reference in a new issue