X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Faction.c;h=b035558dcfbcd770943682531920c19bb13c8c29;hb=c0c06e3828981cacc96b27a87d7803f603241d15;hp=80c689f5c9effbaadb2bb707fc0c18dfbec5f72a;hpb=7755edc39ae4ffccd0884dc210f34cc0fbe9c1bd;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index 80c689f5..b035558d 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -784,7 +784,10 @@ void action_raiselower(union ActionData *data) ObClient *cit = it->data; if (cit == c) break; - if (client_normal(cit) == client_normal(c) && cit->layer == c->layer) { + if (client_normal(cit) == client_normal(c) && + cit->layer == c->layer && + cit->frame->visible) + { if (RECT_INTERSECTS_RECT(cit->frame->area, c->frame->area)) { raise = TRUE; break;