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

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() {