X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=18747b9c80512a8bba55e78788085e7f7ca0cca2;hb=277db2822d79a6000d31b93ec963ae87286d6ade;hp=26726c7b4aa2c3ab138a51546b3cf36373ab19fc;hpb=007e62fa7722cafcd5344976cb4b621931eae3b0;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 26726c7b..18747b9c 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -174,7 +174,7 @@ static void restack_windows(ObClient *selected, gboolean raise) /* if it's a transient lowering, lower its parents so that we can lower this window, or it won't move */ - top = client_search_all_top_parents(selected); + top = client_search_all_top_parents_layer(selected); /* that is, if it has any parents */ if (!(top->data == selected && top->next == NULL)) { @@ -375,7 +375,7 @@ static GList *find_highest_relative(ObClient *client) GSList *top; /* get all top level relatives of this client */ - top = client_search_all_top_parents(client); + top = client_search_all_top_parents_layer(client); /* go from the top of the stacking order down */ for (it = stacking_list; !ret && it; it = g_list_next(it)) {