From 8c83287e104ba3d20236f9bc8e546cd4f110459f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 9 Jan 2009 11:56:20 +0100 Subject: [PATCH] awful.placement: fix floating detection Signed-off-by: Julien Danjou --- lib/awful/placement.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/placement.lua.in b/lib/awful/placement.lua.in index fa4a140ae..a23e2d629 100644 --- a/lib/awful/placement.lua.in +++ b/lib/awful/placement.lua.in @@ -127,7 +127,7 @@ function no_overlap(c) local areas = { capi.screen[c.screen].workarea } local geometry = c:geometry() for i, cl in pairs(cls) do - if cl ~= c and (client.get.floating(cl) or layout == layout.suit.floating) then + if cl ~= c and (client.floating.get(cl) or layout == layout.suit.floating) then areas = area_remove(areas, cl:geometry()) end end