From ae6a1efe65b7a2113c5dcfc52ad665cdb1905dd2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 10 Jul 2015 15:11:52 +0200 Subject: [PATCH] Fix ewmh.activate to use the hints argument This was missed in cb7f4b06, where the `raise` argument was changed to `hints`. --- lib/awful/ewmh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/ewmh.lua b/lib/awful/ewmh.lua index d00e07c7..ac74ca9e 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