awesome/lib/wibox
Uli Schlachter ebcda492a1 wibox.layout.fixed: Always draw "empty" widgets
If a widget has a width/height of 0, we can safely draw it without running out
of the available space. This code checks if we got enough space after we now how
much space the next widget wants.

This fixes the systray. It has to be drawn at least once so that the C core can
set up stuff correctly. However, thanks to the systray having a width of 0, it
wasn't drawn by the layout.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 19:47:34 +02:00
..
layout wibox.layout.fixed: Always draw "empty" widgets 2010-10-06 19:47:34 +02:00
widget wibox.widget.background: Use draw_widget() 2010-10-06 18:45:13 +02:00
init.lua.in Import lib/wibox/, a new widget system in lua 2010-10-06 12:42:56 +02:00