Pass resource name to Plasma window management protocol

This commit is contained in:
Nicolas Fella 2022-01-23 20:58:58 +01:00
parent 35c0aca980
commit c1a895effa

View file

@ -1548,6 +1548,7 @@ void AbstractClient::setupWindowManagementInterface()
w->setApplicationMenuPaths(applicationMenuServiceName(), applicationMenuObjectPath());
w->setIcon(icon());
auto updateAppId = [this, w] {
w->setResourceName(resourceName());
w->setAppId(QString::fromUtf8(m_desktopFileName.isEmpty() ? resourceClass() : m_desktopFileName));
};
updateAppId();