X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=2280b87735a079b15329db1875ae433cbed05855;hb=0cfd92ab9e56d8f790c92b83436e981fa46efe20;hp=4a58d91ed87c2a39ae5539db95168a7db3e25805;hpb=5ae93282f93ecafc491202a363f944d9604d3437;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))