From ed022e6764990d253586a29b143b23b5289f8db2 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 19 Oct 2011 16:34:15 +0200 Subject: [PATCH] tag.withcurrent(): Also tag sticky clients (FS#934) Tagging sticky clients shouldn't hurt anything, but it helps a lot if the client later becomes unsticky. I'd have no tags in that case. Signed-off-by: Uli Schlachter --- lib/awful/tag.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index bf5c3342..009924e3 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -463,7 +463,7 @@ end -- @param c The client to tag. -- @param startup Optional: don't do anything if true. function withcurrent(c, startup) - if startup ~= true and c.sticky == false then + if startup ~= true then if #c:tags() == 0 then c:tags(selectedlist(c.screen)) end