awful: fix toggletag (FS#277)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-20 13:13:34 +02:00
parent f4872715ce
commit a651388da0
1 changed files with 1 additions and 1 deletions

View File

@ -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