feat(idle_inhibitor): pass status to click events exec

This commit is contained in:
Alex
2019-05-02 16:56:45 +02:00
parent 1e871b2353
commit 5623bbecfe
3 changed files with 13 additions and 7 deletions

View File

@ -50,6 +50,7 @@ bool waybar::modules::IdleInhibitor::handleToggle(GdkEventButton* const& e) {
waybar::Client::inst()->idle_inhibit_manager, bar_.surface);
status_ = "activated";
}
click_param = status_;
} else {
ALabel::handleToggle(e);
}