awful: fix toggletag (FS#277)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f4872715ce
commit
a651388da0
|
@ -569,7 +569,7 @@ function client.toggletag(target, c)
|
|||
if sel and sel.screen == target.screen then
|
||||
local tags = sel:tags()
|
||||
if tags[target] then
|
||||
tags[target] = nil
|
||||
tags[tags[target]] = nil
|
||||
else
|
||||
tags[target] = target
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue