]> Dogcows Code - chaz/openbox/commitdiff
Don't hilite new windows when we're restoring them from a saved session.
authorDana Jansens <danakj@orodu.net>
Tue, 8 Dec 2009 19:16:08 +0000 (14:16 -0500)
committerDana Jansens <danakj@orodu.net>
Tue, 8 Dec 2009 19:16:08 +0000 (14:16 -0500)
openbox/client.c

index ecb4aafe9a10cfd2b2e87abb7262c72022352167..a91b9503e09ef62d9eb45321aa83fbc918f8de62 100644 (file)
@@ -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 {
This page took 0.031655 seconds and 4 git commands to generate.