Merge pull request #3013 from unai-ndz/fix_client.property.persist

client: Fix property.persist
This commit is contained in:
mergify[bot] 2020-02-29 21:51:53 +00:00 committed by GitHub
commit b261bcd318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1302,7 +1302,7 @@ function client.property.persist(prop, kind)
client.data.persistent_properties_registered[prop] = true
-- Make already-set properties persistent
for c in pairs(capi.client.get()) do
for _, c in ipairs(capi.client.get()) do
if c._private.awful_client_properties and c._private.awful_client_properties[prop] ~= nil then
c:set_xproperty(xprop, c._private.awful_client_properties[prop])
end