Make client.movetotag emit request::activate on client
Closes https://github.com/awesomeWM/awesome/pull/439.
This commit is contained in:
parent
872c321e81
commit
0a11cd0c4d
|
@ -500,6 +500,9 @@ function client.movetotag(target, c)
|
|||
local sel = c or capi.client.focus
|
||||
local s = tag.getscreen(target)
|
||||
if sel and s then
|
||||
if sel == capi.client.focus then
|
||||
sel:emit_signal("request::activate", "client.movetotag", {raise=true})
|
||||
end
|
||||
-- Set client on the same screen as the tag.
|
||||
sel.screen = s
|
||||
sel:tags({ target })
|
||||
|
|
Loading…
Reference in New Issue