wibox: remove implicit orientation change
Signed-off-by: Lukas Hrazky <lukkash@email.cz> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4685023a28
commit
a4f8935509
|
@ -245,12 +245,6 @@ function new(arg)
|
||||||
|
|
||||||
local w = capi.wibox(arg)
|
local w = capi.wibox(arg)
|
||||||
|
|
||||||
if position == "left" then
|
|
||||||
w.orientation = "north"
|
|
||||||
elseif position == "right" then
|
|
||||||
w.orientation = "south"
|
|
||||||
end
|
|
||||||
|
|
||||||
w.screen = arg.screen or 1
|
w.screen = arg.screen or 1
|
||||||
|
|
||||||
attach(w, position)
|
attach(w, position)
|
||||||
|
|
Loading…
Reference in New Issue