51424b5da9
With the overflow layout, it is now possible to allow theoretically infinite space for widgets to draw into. The `fixed` layout was broken for this use case. To determine the total amount of space used by its child widgets, the `fixed` layout would subtract their size from the total available space during `:fit` and keep that as a "remaining size" variable. However, `Infinity - x == Infinity` (when `x < Infinity`). So `:fit` would always end up with a calculation `needed_size = available_size - size_left` or `x = Infinity - Infinity`, which is `0`. So with infinite space available, the `fixed` layout would actually report a size of `0`. See also discussion at https://github.com/awesomeWM/awesome/pull/3309#issuecomment-997191875 Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de> |
||
---|---|---|
.. | ||
awful | ||
beautiful | ||
gears | ||
menubar | ||
wibox | ||
preload.lua |