Merge pull request #3393 from RobertMueller2/issue_3366

workaround for icons not rendered for apps existing before waybar launch
This commit is contained in:
Alexis Rouillard 2024-07-01 09:21:40 +02:00 committed by GitHub
commit 494cedb3bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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());
for (auto &t : tasks_) {
t->handle_app_id(t->app_id().c_str());
}
}
Taskbar::~Taskbar() {