hyprlock/src
Maximilian Seidler 318c00d6d0
core: stabilize label updates and revision locking in the asyncResourceGatherer (#384)
* core: handle rerendering when frameCallback is pending

* core: log when skipping label updates

* asyncResourceGatherer: remove busy and use loopMutex

Makes getAssetById fail less often and thus labels get more stable
updates

* asyncResourceGatherer: revision locking

`assetsMutex` was not needed, since `apply` only gets called from the
main thread and resources are also only aquired via the main thread.

`preloadTargets`, previously kinda guarded by the `busy` flag are now
locked as suggested in #367 (but via a copy of `peloadTargets`).

`apply` now returns a boolean so that the locking of preloadTargets in
combination with checking `preloadTargets.empty()` is a bit nicer.

* asyncResourceGatherer: remove explicit template arg for unique lock
2024-06-26 20:31:15 +02:00
..
config core: add zindex option to widgets (#334) 2024-05-17 19:29:05 +01:00
core core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
helpers core: move to hyprutils for utils (#362) 2024-06-08 23:49:49 +02:00
renderer core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
main.cpp core: Inproved error handling and arg parsing (#380) 2024-06-25 20:09:52 +02:00