mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
Merge branch 'Alexays:master' into master
This commit is contained in:
@ -63,9 +63,11 @@ auto waybar::modules::Image::update() -> void {
|
||||
}
|
||||
image_.set(pixbuf);
|
||||
image_.show();
|
||||
image_.get_style_context()->remove_class("empty");
|
||||
} else {
|
||||
image_.clear();
|
||||
image_.hide();
|
||||
image_.get_style_context()->add_class("empty");
|
||||
}
|
||||
|
||||
AModule::update();
|
||||
|
@ -527,11 +527,11 @@ void Task::handle_closed() {
|
||||
spdlog::debug("{} closed", repr());
|
||||
zwlr_foreign_toplevel_handle_v1_destroy(handle_);
|
||||
handle_ = nullptr;
|
||||
tbar_->remove_task(id_);
|
||||
if (button_visible_) {
|
||||
tbar_->remove_button(button);
|
||||
button_visible_ = false;
|
||||
}
|
||||
tbar_->remove_task(id_);
|
||||
}
|
||||
|
||||
bool Task::handle_clicked(GdkEventButton *bt) {
|
||||
|
Reference in New Issue
Block a user