Merge pull request #3332 from zspher/patch-wlr-taskbar

This commit is contained in:
Alexis Rouillard 2024-06-05 22:07:55 +02:00 committed by GitHub
commit 365e77af58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ void Taskbar::move_button(Gtk::Button &bt, int pos) { box_.reorder_child(bt, pos
void Taskbar::remove_button(Gtk::Button &bt) {
box_.remove(bt);
if (tasks_.empty()) {
if (box_.get_children().empty()) {
box_.get_style_context()->add_class("empty");
}
}