awful.wibox: Set the window type to "dock".

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-09-28 13:09:19 +02:00
parent b6fa779972
commit 9a8177e457

View file

@ -218,6 +218,8 @@ function new(arg)
local position = arg.position or "top"
local has_to_stretch = true
arg.type = arg.type or "dock"
if position ~= "top" and position ~="bottom"
and position ~= "left" and position ~= "right" then
error("Invalid position in awful.wibox(), you may only use"