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

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