From e0fe7d8826dc9c6f23cfd7d07fef1c97d70b8013 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 25 Nov 2001 02:43:40 +0000 Subject: [PATCH] oops - only resist windows that are... VISIBLE! :) SVN revision: 5728 --- src/resist.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/resist.c b/src/resist.c index 37f7acf0a..2f3cd151c 100644 --- a/src/resist.c +++ b/src/resist.c @@ -53,15 +53,18 @@ rects = evas_list_append(rects, r); \ E_Border *bd; bd = l->data; - if (bd != b) + if (bd->current.visible) { - r = NEW(struct _E_Rect, 1); - r->x = bd->current.x; - r->y = bd->current.y; - r->w = bd->current.w; - r->h = bd->current.h; - r->v1 = win_resist; - rects = evas_list_append(rects, r); + if (bd != b) + { + r = NEW(struct _E_Rect, 1); + r->x = bd->current.x; + r->y = bd->current.y; + r->w = bd->current.w; + r->h = bd->current.h; + r->v1 = win_resist; + rects = evas_list_append(rects, r); + } } } for (l = rects; l; l = l->next)