no longer honor transient_for = None or Root. it violates the ICCCM and is causing problems. there are proper ways to make group transient windows with the EWMH.
This commit is contained in:
parent
1fdb434f5d
commit
49dd40d99f
1 changed files with 9 additions and 1 deletions
|
@ -1037,6 +1037,12 @@ void client_update_transient_for(ObClient *self)
|
||||||
target = NULL;
|
target = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* we used to do this, but it violates the ICCCM and causes problems because
|
||||||
|
toolkits seem to set transient_for = root rather arbitrarily (eg kicker's
|
||||||
|
config dialogs), so it is being removed. the ewmh provides other ways to
|
||||||
|
make things transient for their group. -dana
|
||||||
|
*/
|
||||||
if (!target && self->group) {
|
if (!target && self->group) {
|
||||||
/* not transient to a client, see if it is transient for a
|
/* not transient to a client, see if it is transient for a
|
||||||
group */
|
group */
|
||||||
|
@ -1048,6 +1054,8 @@ void client_update_transient_for(ObClient *self)
|
||||||
target = OB_TRAN_GROUP;
|
target = OB_TRAN_GROUP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
} else if (self->type == OB_CLIENT_TYPE_DIALOG && self->group) {
|
} else if (self->type == OB_CLIENT_TYPE_DIALOG && self->group) {
|
||||||
self->transient = TRUE;
|
self->transient = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue