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:
commit
0475ff12c9
|
@ -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.
|
-- 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
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue