From 3a160c9363e186b803b9db73fd568543ded346f0 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 8 Feb 2015 02:46:40 +0100 Subject: [PATCH] awful.client.property.get: fix loading multiple persistent properties When loading persistent properties for a client, the loop value wasn't used, but the original/requested property. This would only get triggered when using more than one persistent client property (the default is one, "floating"). --- lib/awful/client.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index fb4edb7c..ab671885 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -874,7 +874,7 @@ function client.property.get(c, prop) if not client.data.persistent_properties_loaded[c] then client.data.persistent_properties_loaded[c] = true for p in pairs(client.data.persistent_properties_registered) do - local value = c:get_xproperty("awful.client.property." .. prop) + local value = c:get_xproperty("awful.client.property." .. p) if value ~= nil then client.property.set(c, p, value) end