all repos — openbox @ 672aea85cfe2ac2bc8cb4e3f34fd023f10d90182

openbox fork - make it a bit more like ryudo

Don't hilite new windows when we're restoring them from a saved session.
Dana Jansens danakj@orodu.net
commit

672aea85cfe2ac2bc8cb4e3f34fd023f10d90182

parent

07126124c9242a5a20883c3145464730e50afe94

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -505,9 +505,10 @@ activate = client_can_steal_focus(self, map_time, launch_time);

if (!activate) { /* if the client isn't stealing focus, then hilite it so the user - knows it is there */ - /* XXX don't do this if we're restoring from a session */ - client_hilite(self, TRUE); + knows it is there, but don't do this if we're restoring from a + session */ + if (!client_restore_session_stacking(self)) + client_hilite(self, TRUE); } } else {