wibox.drawable: Don't redraw drawables without surfaces (FS#1079)
commit2de450dff9741c01603478bda41c08259b8cb966
authorUli Schlachter <psychon@znc.in>
Wed, 20 Feb 2013 13:19:31 +0000 (20 14:19 +0100)
committerUli Schlachter <psychon@znc.in>
Wed, 20 Feb 2013 13:19:31 +0000 (20 14:19 +0100)
tree4b484f71bdbf5b0296dd8fb043d42adb819a3e97
parent983001613a46b760c15dd48aa64a87b020fda615
wibox.drawable: Don't redraw drawables without surfaces (FS#1079)

Thanks to the previous commit, a drawable can no longer have a finished cairo
surface. Instead, it will now have a nil surface. This commit handles this new
possibility.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/wibox/drawable.lua.in