awful.placement: fix floating detection
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ab57bad361
commit
8c83287e10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue