Merge pull request #2432 from actionless/dont-raise-on-startup

fix(awful: rules): don't raise every focusable client on awesome startup
This commit is contained in:
mergify[bot] 2018-10-15 12:43:33 +00:00 committed by GitHub
commit 0475ff12c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -735,7 +735,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=true})
c:emit_signal('request::activate', "rules", {raise=not awesome.startup})
end
end