Merge pull request #438 from blueyed/ewmh-activate-raise-always

ewmh.activate: raise a client always
This commit is contained in:
Daniel Hahler 2015-09-25 10:16:03 +02:00
commit bf630de74e
1 changed files with 2 additions and 3 deletions

View File

@ -164,9 +164,8 @@ function ewmh.activate(c, context, hints)
client.focus = c
end
if hints and hints.raise then
if awesome.startup or c:isvisible() then
c:raise()
else
c:raise()
if not awesome.startup and not c:isvisible() then
c.urgent = true
end
end