awful.menu.clients: Raise the newly focused client

Raising it makes it more obvious that the focus was really changed and makes
working with the client easier since it's, well, raised.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Uli Schlachter 2010-04-27 16:28:02 +02:00 committed by Julien Danjou
parent b205854de1
commit 1e3409f461
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ function clients(menu, args)
tags.viewmore(c:tags(), c.screen) tags.viewmore(c:tags(), c.screen)
end end
capi.client.focus = c capi.client.focus = c
c:raise()
end, end,
c.icon } c.icon }
end end