only place dialogs above other windows

This commit is contained in:
Dana Jansens 2007-05-08 22:34:02 +00:00
parent b0f43a1159
commit b82ccb2c78

View file

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