awful.placement: fix floating detection

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-09 11:56:20 +01:00
parent ab57bad361
commit 8c83287e10
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ function no_overlap(c)
local areas = { capi.screen[c.screen].workarea } local areas = { capi.screen[c.screen].workarea }
local geometry = c:geometry() local geometry = c:geometry()
for i, cl in pairs(cls) do 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()) areas = area_remove(areas, cl:geometry())
end end
end end