change the restore function.

If you select the minimized client. revelation will restore it
and then focus on it
This commit is contained in:
Quan Guo 2014-01-21 20:09:18 +01:00
parent f1701d4fbd
commit dfcdd4c08b
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ local function selectfn(restore)
-- Pop to client tag
awful.tag.viewonly(c:tags()[1], c.screen)
-- Focus and raise
if c.minimized then
c.minimized = false
end
capi.client.focus = c
awful.screen.focus(c.screen)
c:raise()