Merge branch 'ewmh-activate-on-startup' of git://github.com/blueyed/awesome

This commit is contained in:
Uli Schlachter 2014-11-07 21:48:40 +01:00
commit 44fb6e4de2
1 changed files with 2 additions and 2 deletions

View File

@ -135,10 +135,10 @@ end
-- Activate a window
function ewmh.activate(c)
if c:isvisible() then
if awesome.startup or c:isvisible() then
client.focus = c
c:raise()
elseif not awesome.startup then
else
c.urgent = true
end
end