awesome/lib/wibox
Uli Schlachter 7967d05915 imagebox: Don't try to scale by infinite (FS#1248)
When an imagebox was drawn with width or height zero, it tried to calculate the
needed scale factor for making the image fit. Sadly, this would be a division by
zero aka infinite in this case.

Fix this by just not drawing anything if there is no space available.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-02 22:48:06 +02:00
..
layout wibox.layout.base.fit_widget: Enforce sane width and height 2014-03-23 17:48:26 +01:00
widget imagebox: Don't try to scale by infinite (FS#1248) 2014-04-02 22:48:06 +02:00
drawable.lua.in wibox.drawable: Assert that no cairo error occurred 2014-04-01 16:20:45 +02:00
init.lua.in Add awesome.register_xproperty (FS#1212) 2014-03-07 16:17:40 +01:00