mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Moving idle inhibitor shared stuff out of Client and into idle_inhibitor module as static members.
This commit is contained in:
@ -12,6 +12,8 @@ class IdleInhibitor : public ALabel {
|
||||
IdleInhibitor(const std::string&, const waybar::Bar&, const Json::Value&);
|
||||
~IdleInhibitor();
|
||||
auto update() -> void;
|
||||
static std::list<waybar::AModule*> idle_inhibitor_modules;
|
||||
static std::string idle_inhibitor_status;
|
||||
|
||||
private:
|
||||
bool handleToggle(GdkEventButton* const& e);
|
||||
|
Reference in New Issue
Block a user