From cdb5a0f04627e0410a3ff7130c2f65c1036b4ac0 Mon Sep 17 00:00:00 2001 From: actionless Date: Mon, 25 Apr 2016 15:43:14 +0200 Subject: [PATCH] fix(awful: rules): floating property --- lib/awful/rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/rules.lua b/lib/awful/rules.lua index 81acb92c..cc672c68 100644 --- a/lib/awful/rules.lua +++ b/lib/awful/rules.lua @@ -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