From d95a16e8373d8db21ed053008244741446fd2fe1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 28 Jan 2009 12:00:34 +0100 Subject: [PATCH] awful.layout.init: floating is default is none Signed-off-by: Julien Danjou --- lib/awful/layout/init.lua.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/awful/layout/init.lua.in b/lib/awful/layout/init.lua.in index c4b7fd9f8..00c95e03b 100644 --- a/lib/awful/layout/init.lua.in +++ b/lib/awful/layout/init.lua.in @@ -24,7 +24,7 @@ module("awful.layout") -- @return The layout function. function get(screen) local t = tag.selected(screen) - return tag.getproperty(t, "layout") or suit.tile + return tag.getproperty(t, "layout") or suit.floating end --- Change the layout of the current tag. @@ -59,9 +59,7 @@ end -- Register an arrange hook. local function on_arrange (screen) - local t = tag.selected(screen) - local l = tag.getproperty(t, "layout") or suit.tile - l(screen) + get(screen)(screen) end local layouts_name =