Merge branch 'ewmh-activate-on-startup' of git://github.com/blueyed/awesome
This commit is contained in:
commit
44fb6e4de2
|
@ -135,10 +135,10 @@ end
|
||||||
|
|
||||||
-- Activate a window
|
-- Activate a window
|
||||||
function ewmh.activate(c)
|
function ewmh.activate(c)
|
||||||
if c:isvisible() then
|
if awesome.startup or c:isvisible() then
|
||||||
client.focus = c
|
client.focus = c
|
||||||
c:raise()
|
c:raise()
|
||||||
elseif not awesome.startup then
|
else
|
||||||
c.urgent = true
|
c.urgent = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue