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 <psychon@znc.in>
This commit is contained in:
parent
bf76b3842b
commit
ed022e6764
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue