mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
fix wibox origin when stretched
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
67fc0b1810
commit
62ac15d9d8
1 changed files with 2 additions and 2 deletions
|
@ -194,10 +194,10 @@ function stretch(wibox, screen)
|
|||
local area = capi.screen[screen].workarea
|
||||
if position == "right" or position == "left" then
|
||||
wibox.height = area.height - (2 * wibox.border_width)
|
||||
align(wibox, "center")
|
||||
wibox.y = area.y
|
||||
else
|
||||
wibox.width = area.width - (2 * wibox.border_width)
|
||||
align(wibox, "left")
|
||||
wibox.x = area.x
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue