mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-28 02:55:05 +00:00
core/desktopentry: lookup wm class in nodisplay entries
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user