awesome/lib/wibox
Uli Schlachter db00145406 wibox.layout.base.fit_widget: Enforce sane width and height
Previously, odd things could happen if a widget was getting fitted into a
negative width or, even worse, width being NaN (not a number)!

This can e.g. happen due to a margin layout which doesn't get enough space to
even draw the margin that it is supposed to add.

Fix this by enforcing a minimum value of 0 for the width and height that a
widget gets fitted into.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-23 17:48:26 +01:00
..
layout wibox.layout.base.fit_widget: Enforce sane width and height 2014-03-23 17:48:26 +01:00
widget imagebox: Avoid division by zero 2014-03-23 17:39:42 +01:00
drawable.lua.in drawin: Only redraw on move with translucent background 2014-03-16 14:58:14 +01:00
init.lua.in Add awesome.register_xproperty (FS#1212) 2014-03-07 16:17:40 +01:00