On 03.10.2013 07:11, Björn Åström wrote:
> The last widget always took up the remaining
> space even though fill_space(false)
> had been called on the layout.

Thanks, merged.

(I added to the commit message the commit which broke this)

> ---
>  lib/wibox/layout/fixed.lua.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/wibox/layout/fixed.lua.in b/lib/wibox/layout/fixed.lua.in
> index ef800b4..28a1ea4 100644
> --- a/lib/wibox/layout/fixed.lua.in
> +++ b/lib/wibox/layout/fixed.lua.in
> @@ -27,7 +27,7 @@ function fixed:draw(wibox, cr, width, height)
>          if self.dir == "y" then
>              x, y = 0, pos
>              w, h = width, height - pos
> -            if k ~= #self.widgets or not self.fill_space then
> +            if k ~= #self.widgets or not self._fill_space then
>                  _, h = base.fit_widget(v, w, h);
>              end
>              pos = pos + h
> @@ -35,7 +35,7 @@ function fixed:draw(wibox, cr, width, height)
>          else
>              x, y = pos, 0
>              w, h = width - pos, height
> -            if k ~= #self.widgets or not self.fill_space then
> +            if k ~= #self.widgets or not self._fill_space then
>                  w, _ = base.fit_widget(v, w, h);
>              end
>              pos = pos + w


-- 
Who needs a ~/.signature anyway?

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to