awful: bugfix
Signed-off-by: Julien Danjou <jdanjou@cigue.easter-eggs.fr>
This commit is contained in:
parent
1530486e9d
commit
3a6b1935f2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue