Merge pull request #849 from actionless/fix-awful-rule-floating

fix(awful: rules): floating property
This commit is contained in:
Emmanuel Lepage Vallée 2016-04-25 15:09:29 -04:00
commit dace6d3721
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