From 9a8177e457769024ccd7fe1304c91dc4ff783567 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 28 Sep 2010 13:09:19 +0200 Subject: [PATCH] awful.wibox: Set the window type to "dock". Signed-off-by: Uli Schlachter --- lib/awful/wibox.lua.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/awful/wibox.lua.in b/lib/awful/wibox.lua.in index 372d4dd90..d82d359a2 100644 --- a/lib/awful/wibox.lua.in +++ b/lib/awful/wibox.lua.in @@ -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"