From 4652ea457d6fce05bbaf91cef2edb1ce4ba6683d Mon Sep 17 00:00:00 2001 From: getzze Date: Wed, 8 Apr 2015 18:29:07 +0100 Subject: [PATCH] Change forgotten c.class to get_class(c) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 4cc10c8..14f3a83 100755 --- a/init.lua +++ b/init.lua @@ -198,7 +198,7 @@ capi.client.connect_signal("manage", match_client) capi.client.connect_signal("untagged", function (c, t) if prop(t,"volatile") == true and #t:clients() == 0 then local rules = c_rules.class[string.lower(get_class(c))] - c_rules.class[string.lower(get_class(c))] = (prop(t,"onetimer") ~= true or c.class == nil) and rules or nil --Prevent "last resort tags" from persisting + c_rules.class[string.lower(get_class(c))] = (prop(t,"onetimer") ~= true or get_class(c) == nil) and rules or nil --Prevent "last resort tags" from persisting for j=1,#(rules and rules.tags or {}) do rules.tags[j].instances[c.screen] = rules.tags[j].instances[c.screen] ~= t and rules.tags[j].instances[c.screen] or nil end