diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-04 21:35:31 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-04 21:35:31 +0000 |
| commit | f0455c02d2a5dc450453dbeac89fe6e1a52531d7 (patch) | |
| tree | c2631031e9573616b76e3c312489c7798ca54b4c /openbox | |
| parent | 8772b46b56172e35506f21d626aa89bd649615c6 (diff) | |
dont use non-normal windows to pick a monitor for transients
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/place.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/place.c b/openbox/place.c index ea131bea..c31ffb73 100644 --- 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)); |
