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
|
if sel and sel.screen == target.screen then
|
||||||
local tags = sel:tags()
|
local tags = sel:tags()
|
||||||
if tags[target] then
|
if tags[target] then
|
||||||
tags[target] = nil
|
tags[tags[target]] = nil
|
||||||
else
|
else
|
||||||
tags[target] = target
|
tags[target] = target
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue