forked from quickshell/quickshell
core/desktopentry: lookup wm class in nodisplay entries
This commit is contained in:
parent
759bd721df
commit
fcffbbced8
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ DesktopEntry* DesktopEntryManager::byId(const QString& id) {
|
|||
DesktopEntry* DesktopEntryManager::heuristicLookup(const QString& name) {
|
||||
if (auto* entry = DesktopEntryManager::byId(name)) return entry;
|
||||
|
||||
auto& list = this->mApplications.valueList();
|
||||
auto list = this->desktopEntries.values();
|
||||
|
||||
auto iter = std::ranges::find_if(list, [&](const DesktopEntry* entry) {
|
||||
return name == entry->mStartupClass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue