X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=4b01f45dbde00c159fc17cb7e7e7d40c5972b91e;hb=2b135c53565547779719348ec3164311be8191fe;hp=2c80ada00cc42712e3d384b2eb8e5828a86311f5;hpb=f869ec5121afaf74ff3a7a420923878c093f9c08;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 2c80ada0..4b01f45d 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -169,7 +169,7 @@ static void restack_windows(ObClient *selected, gboolean raise) GList *modals = NULL; GList *trans = NULL; - if (!raise && selected->transient_for) { + if (!raise && selected->parents) { GSList *top, *top_it; GSList *top_reorder = NULL; @@ -233,7 +233,7 @@ static void restack_windows(ObClient *selected, gboolean raise) 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); @@ -371,7 +371,7 @@ static GList *find_highest_relative(ObClient *client) { GList *ret = NULL; - if (client->transient_for) { + if (client->parents) { GList *it; GSList *top;