From 3a6b1935f206e4c484fe7fc23b5ee24fb38ea34c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 20 Jun 2008 10:52:47 +0200 Subject: [PATCH] awful: bugfix Signed-off-by: Julien Danjou --- lib/awful.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful.lua b/lib/awful.lua index 97a36a85..091691bf 100644 --- a/lib/awful.lua +++ b/lib/awful.lua @@ -282,7 +282,7 @@ end -- @para c Optional client to move, otherwise the focused one is used. function P.client.movetotag(target, c) 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 sel:tag(t, false) end