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:
8772b46
)
dont use non-normal windows to pick a monitor for transients
author
Dana Jansens
<danakj@orodu.net>
Mon, 4 Jun 2007 21:35:31 +0000
(21:35 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 4 Jun 2007 21:35:31 +0000
(21:35 +0000)
openbox/place.c
patch
|
blob
|
history
diff --git
a/openbox/place.c
b/openbox/place.c
index
ea131be
..
c31ffb7
100644
(file)
--- a/
openbox/place.c
+++ b/
openbox/place.c
@@
-69,7
+69,9
@@
static Rect **pick_head(ObClient *c)
choice[i] = screen_num_monitors; /* make them all invalid to start */
/* try direct parent first */
- if (c->transient_for && c->transient_for != OB_TRAN_GROUP) {
+ if (c->transient_for && c->transient_for != OB_TRAN_GROUP &&
+ client_normal(c->transient_for))
+ {
add_choice(choice, client_monitor(c->transient_for));
ob_debug("placement adding choice %d for parent\n",
client_monitor(c->transient_for));