awesome/lib
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
..
awful Merge pull request #701 from psychon/client-gravity-fullscreen 2016-02-17 17:14:51 +01:00
beautiful Fix luacheck warnings in beautiful and menubar 2016-02-11 21:55:32 +01:00
gears Add gears.protected_call 2016-02-28 12:07:02 +01:00
menubar Fix luacheck warnings in beautiful and menubar 2016-02-11 21:55:32 +01:00
naughty Fix naughty.reset_timeout 2016-02-14 14:42:40 +01:00
wibox Make gears.widget.{fit,layout}_widget more robust 2016-02-28 12:11:36 +01:00