fix(idle_inhibitor): overload

This commit is contained in:
Alex
2019-05-02 17:51:01 +02:00
parent 5623bbecfe
commit 1a024db03c
2 changed files with 7 additions and 8 deletions

View File

@ -51,10 +51,7 @@ bool waybar::modules::IdleInhibitor::handleToggle(GdkEventButton* const& e) {
status_ = "activated";
}
click_param = status_;
} else {
ALabel::handleToggle(e);
}
dp.emit();
return false;
ALabel::handleToggle(e);
return true;
}