diff options
| author | Martin Trojer <martin.trojer@gmail.com> | 2026-10-29 08:35:02 +0000 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2026-10-29 09:38:09 +0100 |
| commit | 701a352e7eb03f5daf4252ea0a0f7aa437819b71 (patch) | |
| tree | 185c5fd20cbe7f608d2cb2af1887bdf19cfe5108 /background-image.c | |
| parent | 6ad9ebf3e14deac54a298c10df3e8701061fe495 (diff) | |
An expansion can yield no words (e.g. -i '' or an unset variable),
which made join_args() assert and swaylock abort before locking.
Use an empty path in that case, so loading it fails normally and
swaylock carries on and locks, instead of falling back to the
unexpanded string. Also free path and output_name on the
failed-load return.
Diffstat (limited to 'background-image.c')
0 files changed, 0 insertions, 0 deletions
