X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=2280b87735a079b15329db1875ae433cbed05855;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=4a58d91ed87c2a39ae5539db95168a7db3e25805;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 4a58d91e..2280b877 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -366,7 +366,7 @@ void stacking_add(ObWindow *win) } static GList *find_highest_relative(ObClient *client) -{ +{ GList *ret = NULL; if (client->parents) { @@ -383,7 +383,7 @@ static GList *find_highest_relative(ObClient *client) /* only look at windows in the same layer and that are visible */ if (c->layer == client->layer && - !c->iconic && + !c->iconic && (c->desktop == client->desktop || c->desktop == DESKTOP_ALL || client->desktop == DESKTOP_ALL))