Merge branch 'fix_tag_remove_v1' of git://github.com/Elv13/awesome-1
This commit is contained in:
commit
1c72186cbc
|
@ -159,7 +159,8 @@ function tag.delete(target_tag, fallback_tag)
|
|||
if (not c.sticky and #c:tags() == 1) or
|
||||
(c.sticky and fallback_tag == nil) then
|
||||
return
|
||||
else
|
||||
-- If a client has multiple tags, then do not move it to fallback
|
||||
elseif #c:tags() < 2 then
|
||||
c:tags({fallback_tag})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue