workaround for icons not rendered for apps existing before waybar launch

This commit is contained in:
Rene D. Obermueller 2024-06-30 14:52:49 +02:00
parent 64f54e1fce
commit 64a3133083
1 changed files with 4 additions and 0 deletions

View File

@ -788,6 +788,10 @@ Taskbar::Taskbar(const std::string &id, const waybar::Bar &bar, const Json::Valu
} }
icon_themes_.push_back(Gtk::IconTheme::get_default()); icon_themes_.push_back(Gtk::IconTheme::get_default());
for (auto &t : tasks_) {
t->handle_app_id(t->app_id().c_str());
}
} }
Taskbar::~Taskbar() { Taskbar::~Taskbar() {