From: Dana Jansens Date: Fri, 22 Aug 2003 15:44:20 +0000 (+0000) Subject: maybe smarter X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7755edc39ae4ffccd0884dc210f34cc0fbe9c1bd;p=chaz%2Fopenbox maybe smarter --- diff --git a/openbox/action.c b/openbox/action.c index 824fb35c..80c689f5 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -784,7 +784,7 @@ void action_raiselower(union ActionData *data) ObClient *cit = it->data; if (cit == c) break; - if (client_normal(cit) && cit->layer == c->layer) { + if (client_normal(cit) == client_normal(c) && cit->layer == c->layer) { if (RECT_INTERSECTS_RECT(cit->frame->area, c->frame->area)) { raise = TRUE; break;