X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fstacking.c;h=18747b9c80512a8bba55e78788085e7f7ca0cca2;hb=b190fb6bb6dffca826e48748817f52b9f3ae7c54;hp=26726c7b4aa2c3ab138a51546b3cf36373ab19fc;hpb=cdcba19cf9020ace8ae6337e3d94f8f131a2daf3;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)) {