Skip to content

Commit

Permalink
Merge pull request #3332 from zspher/patch-wlr-taskbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays authored Jun 5, 2024
2 parents 7163752 + 1b1442e commit 365e77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/wlr/taskbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
Expand Down

0 comments on commit 365e77a

Please sign in to comment.