dont place transients based on non-normal parents

This commit is contained in:
Dana Jansens 2007-06-04 21:54:06 +00:00
parent f0455c02d2
commit 7086c146af

View file

@ -447,7 +447,10 @@ static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y,
static gboolean place_transient_splash(ObClient *client, gint *x, gint *y)
{
if (client->transient_for && client->type == OB_CLIENT_TYPE_DIALOG) {
if (client->transient_for != OB_TRAN_GROUP && !client->iconic) {
if (client->transient_for != OB_TRAN_GROUP &&
client_normal(client->transient_for) &&
!client->iconic)
{
ObClient *c = client;
ObClient *p = client->transient_for;