awful.rules: Fix shape function not being set as client property

This commit is contained in:
warptozero 2019-01-30 07:44:00 +01:00
parent b5abd53cbf
commit eca5c869fa
No known key found for this signature in database
GPG Key ID: 5C0114048D0BC524
1 changed files with 1 additions and 1 deletions

View File

@ -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