Merge pull request #849 from actionless/fix-awful-rule-floating
fix(awful: rules): floating property
This commit is contained in:
commit
dace6d3721
|
@ -389,7 +389,7 @@ function rules.execute(c, props, callbacks)
|
||||||
|
|
||||||
-- Geometry will only work if floating is true, otherwise the "saved"
|
-- Geometry will only work if floating is true, otherwise the "saved"
|
||||||
-- geometry will be restored.
|
-- geometry will be restored.
|
||||||
if props.floating then
|
if props.floating ~= nil then
|
||||||
c.floating = type(props.floating) == "function" and props.floating(c,props)
|
c.floating = type(props.floating) == "function" and props.floating(c,props)
|
||||||
or props.floating
|
or props.floating
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue