fix(awful: rules): floating property

This commit is contained in:
actionless 2016-04-25 15:43:14 +02:00
parent 58a6cdb440
commit cdb5a0f046
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ function rules.execute(c, props, callbacks)
-- Geometry will only work if floating is true, otherwise the "saved"
-- geometry will be restored.
if props.floating then
if props.floating ~= nil then
c.floating = type(props.floating) == "function" and props.floating(c,props)
or props.floating
end