Merge pull request #2534 from woojiq/fix-hyprland-default-icon

This commit is contained in:
Alexis Rouillard 2023-09-24 09:25:37 +02:00 committed by GitHub
commit 16f6d9dfa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -549,7 +549,8 @@ std::string &Workspace::select_icon(std::map<std::string, std::string> &icons_ma
if (default_icon_it != icons_map.end()) { if (default_icon_it != icons_map.end()) {
return default_icon_it->second; return default_icon_it->second;
} }
return icons_map[""];
return name_;
} }
auto Workspace::handle_clicked(GdkEventButton *bt) -> bool { auto Workspace::handle_clicked(GdkEventButton *bt) -> bool {