Merge pull request #9 from blueyed/use-client-jumpto
Use `awful.client.jumpto` in `selectfn`
This commit is contained in:
commit
fe77a77d62
7
init.lua
7
init.lua
|
@ -70,15 +70,12 @@ revelation = {
|
|||
local function selectfn(restore)
|
||||
return function(c)
|
||||
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()
|
||||
awful.client.jumpto(c)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue