GList *modals = NULL;
GList *trans = NULL;
- if (!raise && selected->transient_for) {
+ if (!raise && selected->parents) {
GSList *top, *top_it;
GSList *top_reorder = NULL;
wins = g_list_append(wins, selected);
/* if selected window is transient for group then raise it above others */
- if (selected->transient_for == OB_TRAN_GROUP) {
+ if (selected->transient_for_group) {
/* if it's modal, raise it above those also */
if (selected->modal) {
wins = g_list_concat(wins, group_modals);
{
GList *ret = NULL;
- if (client->transient_for) {
+ if (client->parents) {
GList *it;
GSList *top;