only use visible windows when calcing for raiselower
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
openbox/action.c
→
openbox/action.c
@@ -784,7 +784,10 @@ for (it = stacking_list; it; it = g_list_next(it)) {
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;