projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0712612
)
Don't hilite new windows when we're restoring them from a saved session.
author
Dana Jansens
<danakj@orodu.net>
Tue, 8 Dec 2009 19:16:08 +0000
(14:16 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 8 Dec 2009 19:16:08 +0000
(14:16 -0500)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
ecb4aaf
..
a91b950
100644
(file)
--- 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 {