mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
41a8fabf4c
Before this, dependencies between widgets where implicitly discovered by recursive calls to base.fit_widget() and base.layout_widget(). However, it is too easy to get this wrong (just call one of these functions from outside of a widget's :fit() / :layout() function) and the resulting mess would be hard to debug. Thus, this commit changes the API so that callers have to identify themselves and we can explicitly record the dependency between the widgets involved. This also fixes a bug where no dependencies were tracked for widgets after :set_visible(false). Whoops... Sorry for breaking the API for adding this. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
awful | ||
gears | ||
wibox | ||
preload.lua |