forked from enlightenment/enlightenment
oops - only resist windows that are... VISIBLE! :)
SVN revision: 5728
This commit is contained in:
parent
3cbfb2d937
commit
e0fe7d8826
19
src/resist.c
19
src/resist.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue