]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
only use visible windows when calcing for raiselower
[chaz/openbox] / openbox / action.c
index 80c689f5c9effbaadb2bb707fc0c18dfbec5f72a..b035558dcfbcd770943682531920c19bb13c8c29 100644 (file)
@@ -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;
This page took 0.025743 seconds and 4 git commands to generate.