oops - only resist windows that are... VISIBLE! :)

SVN revision: 5728
This commit is contained in:
Carsten Haitzler 2001-11-25 02:43:40 +00:00
parent 3cbfb2d937
commit e0fe7d8826
1 changed files with 11 additions and 8 deletions

View File

@ -53,15 +53,18 @@ rects = evas_list_append(rects, r); \
E_Border *bd; E_Border *bd;
bd = l->data; bd = l->data;
if (bd != b) if (bd->current.visible)
{ {
r = NEW(struct _E_Rect, 1); if (bd != b)
r->x = bd->current.x; {
r->y = bd->current.y; r = NEW(struct _E_Rect, 1);
r->w = bd->current.w; r->x = bd->current.x;
r->h = bd->current.h; r->y = bd->current.y;
r->v1 = win_resist; r->w = bd->current.w;
rects = evas_list_append(rects, r); r->h = bd->current.h;
r->v1 = win_resist;
rects = evas_list_append(rects, r);
}
} }
} }
for (l = rects; l; l = l->next) for (l = rects; l; l = l->next)