awesome/lib/gears
Uli Schlachter 4fc396ec57 gears.wallpaper: Only finish own surfaces
If the caller provides a file name, these function load the image, set
it as the wallpaper and make sure that the memory used for the image
data is freed immediately. However, this was also done when the caller
provided a cairo surface, thus breaking their surface.

Fix the code so that it does not finish surfaces that it did not create
itself.

Fixes: https://github.com/awesomeWM/awesome/issues/1570
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-19 14:10:05 +01:00
..
object Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
cache.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
color.lua Create artificial gears.color documentation. 2016-11-28 20:23:46 -08:00
debug.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
geometry.lua Add missing vim modelines in lib/ 2016-12-31 14:07:13 +01:00
init.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
matrix.lua gears.matrix: Add create_rotate_at() (#1181) 2016-10-25 15:37:49 +02:00
object.lua doc: Add a missing test example macro 2017-01-03 00:07:57 -05:00
protected_call.lua Fix traceback in gears.protected_call (#1178) 2016-10-22 00:54:08 +02:00
shape.lua Fix whitespace warnings reported by luacheck (#1229) 2016-11-21 22:38:23 +01:00
surface.lua Bump minimal LGI version to 0.8.0 (#1350) 2017-01-02 19:53:02 +01:00
timer.lua doc: fix signals (#1455) 2017-01-28 15:03:56 +01:00
wallpaper.lua gears.wallpaper: Only finish own surfaces 2017-02-19 14:10:05 +01:00