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)
This commit is contained in:
Daniel Hahler 2015-07-10 15:07:53 +02:00
parent bd885f59f5
commit 9eb4661cde
1 changed files with 1 additions and 1 deletions

View File

@ -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