client: Fix property.persist

This commit is contained in:
Unai Fernández 2020-02-28 13:18:48 +01:00
parent df5d092304
commit 2c51493a69
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 client.data.persistent_properties_registered[prop] = true
-- Make already-set properties persistent -- 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 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]) c:set_xproperty(xprop, c._private.awful_client_properties[prop])
end end