re-emit focus signal after switching

This commit is contained in:
Xinhao Yuan 2019-11-16 23:42:14 -05:00
parent 9d87edec24
commit 9fd13172ca
1 changed files with 3 additions and 3 deletions

View File

@ -241,10 +241,10 @@ function module.start(c, exit_keys)
local kg
local function exit()
if api.client.focus then
api.awful.client.focus.history.add(api.client.focus)
end
api.awful.client.focus.history.enable_tracking()
if api.client.focus then
api.client.emit_signal("focus", api.client.focus)
end
infobox.visible = false
api.awful.keygrabber.stop(kg)
end