From 92dc63fe027909ecf7572b6fe6bd64ab35ba12b3 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 21 Apr 2014 19:30:03 +0200 Subject: [PATCH] Remove unused argument to awful.client.property.persist This is a left-over from an old version of the patch which introduced this new function. Signed-off-by: Uli Schlachter --- lib/awful/client.lua.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index e5dda4b1..f71c6fc5 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -903,11 +903,10 @@ function client.property.set(c, prop, value) end --- Set a client property to be persistent across restarts (via X properties). --- @param c The client. -- @param prop The property name. -- @param type The type (used for register_xproperty). -- One of "string", "number" or "boolean". -function client.property.persist(c, prop, type) +function client.property.persist(prop, type) local xprop = "awful.client.property." .. prop capi.awesome.register_xproperty(xprop, type) client.data.persistent_properties_registered[prop] = true @@ -995,7 +994,7 @@ capi.client.connect_signal("unmanage", client.urgent.delete) capi.client.connect_signal("unmanage", client.floating.delete) -- Register persistent properties -client.property.persist(c, "floating", "boolean") +client.property.persist("floating", "boolean") return client