awful: bugfix

Signed-off-by: Julien Danjou <jdanjou@cigue.easter-eggs.fr>
This commit is contained in:
Julien Danjou 2008-06-20 10:52:47 +02:00
parent 1530486e9d
commit 3a6b1935f2
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ end
-- @para c Optional client to move, otherwise the focused one is used. -- @para c Optional client to move, otherwise the focused one is used.
function P.client.movetotag(target, c) function P.client.movetotag(target, c)
local sel = c or client.focus_get(); local sel = c or client.focus_get();
local tags = tag.get(c:screen_get()) local tags = tag.get(sel:screen_get())
for k, t in pairs(tags) do for k, t in pairs(tags) do
sel:tag(t, false) sel:tag(t, false)
end end