From a651388da03c9f70fcfad89a5031dc540e95592c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 20 Aug 2008 13:13:34 +0200 Subject: [PATCH] awful: fix toggletag (FS#277) Signed-off-by: Julien Danjou --- lib/awful.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful.lua.in b/lib/awful.lua.in index 1292d9c0..58c5f937 100644 --- a/lib/awful.lua.in +++ b/lib/awful.lua.in @@ -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