Don't hilite new windows when we're restoring them from a saved session.

This commit is contained in:
Dana Jansens 2009-12-08 14:16:08 -05:00
parent 07126124c9
commit 672aea85cf

View file

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