]> git.sur5r.net Git - i3/i3lock/commit
Bugfix: fallback when the image cannot be loaded
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 28 Mar 2012 18:59:17 +0000 (20:59 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 28 Mar 2012 19:00:49 +0000 (21:00 +0200)
commit3c2436cb71cf37fe4f12eb6b1ccbbe3393ade2b1
tree7b2b2f6c12e885ea49f0df0d3c4f48dd6c0722e2
parentbe2195106214b716b23d11534ea004f614b4a0e9
Bugfix: fallback when the image cannot be loaded

If the specified file does not exist or is invalid, previously, the unlock
indicator wouldn’t show up at all, because the invalid surface was still used.

With this commit, i3lock will react like if you didn’t specify an image at all.
i3lock.c