going down the order so look for a lower layer
authorDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 06:31:38 +0000 (06:31 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 06:31:38 +0000 (06:31 +0000)
openbox/stacking.c

index 564b995..c4fb06a 100644 (file)
@@ -530,7 +530,7 @@ static gboolean stacking_occludes(ObClient *client, ObClient *sibling)
                         occludes = TRUE;
                         break;
                     }
-                    else if (c->layer > client->layer)
+                    else if (c->layer < client->layer)
                         break; /* we past its layer */
                 }
             }