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:
mergify[bot] 2019-01-30 15:01:39 +00:00 committed by GitHub
commit 0b4a84ccf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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). -- Apply the remaining properties (after known race conditions are handled).
for property, value in pairs(props) do 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) value = value(c, props)
end end