Merge pull request #2628 from warptozero/pr-rules-shape
awful.rules: Fix shape function not being set as client property
This commit is contained in:
commit
0b4a84ccf3
|
@ -688,7 +688,7 @@ function rules.execute(c, props, callbacks)
|
|||
|
||||
-- Apply the remaining properties (after known race conditions are handled).
|
||||
for property, value in pairs(props) do
|
||||
if property ~= "focus" and type(value) == "function" then
|
||||
if property ~= "focus" and property ~= "shape" and type(value) == "function" then
|
||||
value = value(c, props)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue