diff --git a/lib/awful/ewmh.lua b/lib/awful/ewmh.lua index d00e07c7c..ac74ca9e3 100644 --- a/lib/awful/ewmh.lua +++ b/lib/awful/ewmh.lua @@ -161,7 +161,7 @@ end -- @tparam boolean hints.raise should the client be raised? (default false) function ewmh.activate(c, context, hints) client.focus = c - if raise then + if hints.raise then if awesome.startup or c:isvisible() then c:raise() else