awesome/lib/wibox/widget
Uli Schlachter 3edd216560 wibox: Add widget geometry cache
This commit adds and uses wibox.layout.base.fit_widget(). This function is a
wrapper for widget:fit() that caches the result and thus speeds things up.

This is necessary because some layouts call :fit() from their :fit() and :draw()
functions. Nesting such layouts means that at the widget at the tail of the
stack gets its :fit() function called quite often. If this function is not
blazingly fast, this results in noticeable slowness.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-08-21 12:26:47 +02:00
..
background.lua.in wibox: Improve constructor functions for some layouts 2013-03-10 13:46:28 +01:00
base.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
imagebox.lua.in imagebox: Use a different entry for saving the image 2012-11-27 17:24:54 +01:00
init.lua.in Fix warnings from LDoc 2012-11-19 15:35:32 +01:00
systray.lua.in wibox.wibox.systray: Allow multiple systrays 2013-03-10 11:11:43 +01:00
textbox.lua.in wibox.widget.textbox: return 0, 0 from fit() if either w or h is 0 2013-02-20 13:08:27 +01:00