X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fclient.c;h=a91b9503e09ef62d9eb45321aa83fbc918f8de62;hp=ecb4aafe9a10cfd2b2e87abb7262c72022352167;hb=672aea85cfe2ac2bc8cb4e3f34fd023f10d90182;hpb=07126124c9242a5a20883c3145464730e50afe94 diff --git a/openbox/client.c b/openbox/client.c index ecb4aaf..a91b950 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -505,9 +505,10 @@ void client_manage(Window window, ObPrompt *prompt) 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 {