faacd76f62
Merge pull request #892 from alebastr/layer-surfaces-v3
Alex
2020-11-02 10:17:57 +01:00
c21e0f6cf3
Merge pull request #906 from JordanL2/master
Alex
2020-11-02 10:16:24 +01:00
9785a89013
Making active a bool
Jordan Leppert
2020-11-01 18:25:41 +00:00
b015836e7b
Ensure style class is removed from all IdleInhibitor instances by moving it to update().
Jordan Leppert
2020-11-01 18:17:51 +00:00
a9dae931c7
Renaming idle_inhibitor_modules and idle_inhibitor_status to shorter, more convenient names.
Jordan Leppert
2020-11-01 17:14:05 +00:00
071cb86b45
Moving idle inhibitor shared stuff out of Client and into idle_inhibitor module as static members.
Jordan Leppert
2020-11-01 17:09:48 +00:00
c6743988d3
Removing 'click_param' as it is no longer used.
Jordan Leppert
2020-11-01 16:03:39 +00:00
bb33427f65
Making idle_inhibitor_ private and initialised in constructor, as it was before.
Jordan Leppert
2020-11-01 13:38:58 +00:00
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.
Jordan Leppert
2020-11-01 13:33:28 +00:00
aa4fc3dd29
Idle inhibitor toggle no longer update all modules - a list of idle inhibitors is maintained on the Client.
Jordan Leppert
2020-10-31 17:30:25 +00:00
188611a767
Merge from master
Jordan Leppert
2020-10-31 16:37:20 +00:00
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.
Jordan Leppert
2020-10-31 16:31:27 +00:00
5600783151
Merge pull request #905 from JordanL2/master
Alex
2020-10-31 14:04:41 +01:00
abe1fa5bd4
Custom module - only call label_.set_tooltip_markup if tooltip markup has actually changed - fixes tooltips not appearing at all if a custom module is updating too frequently.
Jordan Leppert
2020-10-31 12:21:51 +00:00
96d965fe04
Add simpleclock as fallback when hhdate is not available
Laurent Arnoud
2020-10-10 14:09:55 +02:00
9c566564e1
fix(bar): address some of RawSurfaceImpl resizing issues
Aleksei Bavshin
2020-10-23 02:59:04 -07:00
fc5906dbd4
feat(bar): change layer to bottom when hidden
Aleksei Bavshin
2020-10-22 23:04:58 -07:00
fe3aeb36c5
refactor(bar): wrap layer_surface pointer in unique_ptr
Aleksei Bavshin
2020-10-23 00:49:09 -07:00
591a417b7d
fix(bar): rework surface commit calls for RawSurfaceImpl
Aleksei Bavshin
2020-10-23 00:13:23 -07:00
d4d35e6b2b
chore(subprojects): update gtk-layer-shell to 0.4.0
Aleksei Bavshin
2020-10-22 08:04:57 -07:00
f97de599dd
refactor: header cleanup
Aleksei Bavshin
2020-10-21 22:45:03 -07:00