Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Alexays/Waybar into add_css_reload
Browse files Browse the repository at this point in the history
  • Loading branch information
dpayne committed Jan 22, 2024
2 parents 20fa578 + 0d9c492 commit 970a751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/modules/upower/upower.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class UPower : public AModule {
Devices devices;
std::mutex m_Mutex;
UpClient *client;
UpDevice *displayDevice;
UpDevice *displayDevice = nullptr;
guint login1_id;
GDBusConnection *login1_connection;
std::unique_ptr<UPowerTooltip> upower_tooltip;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/wlr/taskbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 970a751

Please sign in to comment.