diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-22 15:57:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-22 15:57:20 +0000 |
| commit | 7b6ca7c20e2440d607c7d9d6c189f0821166bd84 (patch) | |
| tree | 3e092ab6ed76234fcacfae73c55c6fb486f018a0 | |
| parent | 7755edc39ae4ffccd0884dc210f34cc0fbe9c1bd (diff) | |
only use visible windows when calcing for raiselower
| -rw-r--r-- | openbox/action.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |
