]> Dogcows Code - chaz/openbox/commitdiff
child/parents don't get included in tests for occluding/occluded windows, because...
authorDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 01:02:27 +0000 (01:02 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 01:02:27 +0000 (01:02 +0000)
openbox/stacking.c

index baf75198123d3a7f0c158aad11013084a8b72ac0..4a58d91ed87c2a39ae5539db95168a7db3e25805 100644 (file)
@@ -492,7 +492,8 @@ static gboolean stacking_occluded(ObClient *client, ObClient *sibling)
             ObClient *c = it->data;
             if (found && !c->iconic &&
                 (c->desktop == DESKTOP_ALL || client->desktop == DESKTOP_ALL ||
-                 c->desktop == client->desktop))
+                 c->desktop == client->desktop) &&
+                !client_search_transient(client, c))
             {
                 if (RECT_INTERSECTS_RECT(c->frame->area, client->frame->area))
                 {
@@ -534,7 +535,8 @@ static gboolean stacking_occludes(ObClient *client, ObClient *sibling)
             ObClient *c = it->data;
             if (found && !c->iconic &&
                 (c->desktop == DESKTOP_ALL || client->desktop == DESKTOP_ALL ||
-                 c->desktop == client->desktop))
+                 c->desktop == client->desktop) &&
+                !client_search_transient(c, client))
             {
                 if (RECT_INTERSECTS_RECT(c->frame->area, client->frame->area))
                 {
This page took 0.022951 seconds and 4 git commands to generate.