Skip to content

Swaylock-effects 1.6-2

Compare
Choose a tag to compare
@mortie mortie released this 07 Nov 20:46
· 46 commits to master since this release
  • Merge in changes from upstream.
  • Add --submit-on-touch (thanks to Zocker1999NET).
  • Add --time-effects to show how long each effect takes to run.
  • Add automatic compilation of custom effects.
    With --effect-custom /path/to/effect.c, swaylock-effects will automatically
    compile (or recompile) that effect if necessary.
    Cached compile artefacts are stored in ~/.cache/swaylock/.
  • Fix an issue that would make the screenshot image appear oriented incorrectly
    with some set-ups.
  • Fix how swaylock-effects deals with displays which are added and removed
    while swaylock-effects is running.
  • Fix --daemonize (-f) in combination with --fade-in.
    The parent process used to exit before the fade-in animation is complete;
    now, the parent process will only exit after the fade-in.
  • Fix how effects deal with scaling. The blur effect, the compose effect
    and the pixelate effect will now multiply any radius and position parameters
    with the output's scale.
  • Custom effects's swaylock_effect function signature has changed to
    void swaylock_effect(uint32_t *data, int width, int height, int scale),
    where scale is the scale of the output the effect is being applied on.
    The function previously didn't take a scale argument.
  • Other minor fixes and improvements.

Work with upstream:

  • A use-after-free in upstream swaylock is fixed.
  • A pull request to handle images as outputs are dynamically added and removed
    is sent upstream.
    The PR isn't merged yet, but the fix is now in swaylock-effects.