diff --git a/lib/awful/ewmh.lua b/lib/awful/ewmh.lua index 38303f0de..c212d2a4c 100644 --- a/lib/awful/ewmh.lua +++ b/lib/awful/ewmh.lua @@ -162,9 +162,8 @@ end function ewmh.activate(c, context, hints) client.focus = c 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