awesome/lib/wibox
Uli Schlachter 7bf2f17a8a Make gears.widget.{fit,layout}_widget more robust
This commit makes these methods invoke the method on a widget in a protected
context. Thanks to this, e.g. the wibox and other widgets are protected from
errors in a child widget.

Additionally, fit_widget() now assumes 0 if a widget's :fit() method didn't
provide a number.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-28 12:11:36 +01:00
..
layout Sanitize argument handling for wibox.layout.stack constructor 2016-02-16 19:42:35 +01:00
widget Make gears.widget.{fit,layout}_widget more robust 2016-02-28 12:11:36 +01:00
drawable.lua Fix luacheck warnings in lib/wibox 2016-02-12 09:15:55 +01:00
hierarchy.lua Fix luacheck warnings in lib/wibox 2016-02-12 09:15:55 +01:00
init.lua Fix luacheck warnings in lib/wibox 2016-02-12 09:15:55 +01:00