From 9eb4661cde58b12a6ba9520e161087e51b01f7d5 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 10 Jul 2015 15:07:53 +0200 Subject: [PATCH] Fix raising clients with focus=true via awful.rules In ed09d8e this was changed accidentally, while only `request::focus` should have been changed: - c:emit_signal('request::activate',"rules") + c:emit_signal('request::activate', "rules", false) --- lib/awful/rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/rules.lua b/lib/awful/rules.lua index cba2644e..6e57d793 100644 --- a/lib/awful/rules.lua +++ b/lib/awful/rules.lua @@ -217,7 +217,7 @@ function rules.execute(c, props, callbacks) -- Do this at last so we do not erase things done by the focus -- signal. if props.focus and (type(props.focus) ~= "function" or props.focus(c)) then - c:emit_signal('request::activate', "rules", {raise=false}) + c:emit_signal('request::activate', "rules", {raise=true}) end end