mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(idle_inhibitor): overload
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user