dont use non-normal windows to pick a monitor for transients
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
openbox/place.c
→
openbox/place.c
@@ -69,7 +69,9 @@ for (i = 0; i < screen_num_monitors; ++i)
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));