Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wibox.container.margin: Do not produce negative sizes
With draw_empty=false, :fit() can return 0,0. Then, when :layout() is called, it will compute negative widths and heights. This can then cause lots of problems later on. Avoid this by having :layout() return nothing instead of producing negative sizes. Fixes: awesomeWM#2799 Signed-off-by: Uli Schlachter <[email protected]>
- Loading branch information