Alex
f2fcadbf62
refactor: lint
2022-04-06 08:37:19 +02:00
Jordan Leppert
9785a89013
Making active a bool
2020-11-01 18:25:41 +00:00
Jordan Leppert
a9dae931c7
Renaming idle_inhibitor_modules and idle_inhibitor_status to shorter, more convenient names.
2020-11-01 17:14:05 +00:00
Jordan Leppert
071cb86b45
Moving idle inhibitor shared stuff out of Client and into idle_inhibitor module as static members.
2020-11-01 17:09:48 +00:00
Jordan Leppert
bb33427f65
Making idle_inhibitor_ private and initialised in constructor, as it was before.
2020-11-01 13:38:58 +00:00
Jordan Leppert
4889e655eb
Since idle_inhibitor's have a surface, we should have one for each inhibitor module. Therefore, the status is stored on the Client, and all modules create or destroy their inhibitors depending on Client's idle_inhibitor_status. Also, when modules are destroyed they remove themselves from Client's idle_inhibitor_modules.
2020-11-01 13:33:28 +00:00
Jordan Leppert
4872091442
Draft fix for syncing idle inhibitor across outputs. The idle_inhibitor surface has been moved to Client, all instances of idle inhibitor module now use one surface between them. Any time an idle inhibitor is clicked, currently it force updates ALL modules on all outputs, this needs work.
2020-10-31 16:31:27 +00:00
Alex
90d89fe974
refactor: kill custom modules scripts en destroy
2019-04-23 15:56:38 +02:00
Alex
6ed8f94dab
refactor: format code
2019-04-18 17:52:00 +02:00
Jonas
80ef63791d
[bugfix] idle_inhibitor handles click events correctly
...
- Declare event handler in ALabel virtual so the idle_inhibitor can
overriding them
- Handle the right click event in idle_inhibitor and call ALabel handler if needed
2019-03-03 22:02:34 +01:00
Jonas
d708ce2be9
Add idle inhibitor module
2019-02-22 16:55:46 +01:00