Active special workspaces fallback on non-active icon before default
This commit is contained in:
@@ -166,6 +166,10 @@ std::string &Workspace::selectIcon(std::map<std::string, std::string> &icons_map
|
|||||||
if (activeIconIt != icons_map.end()) {
|
if (activeIconIt != icons_map.end()) {
|
||||||
return activeIconIt->second;
|
return activeIconIt->second;
|
||||||
}
|
}
|
||||||
|
auto namedIconIt = icons_map.find(name());
|
||||||
|
if (namedIconIt != icons_map.end()) {
|
||||||
|
return namedIconIt->second;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isActive()) {
|
if (isActive()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user