a comp win resize is only a damage event if the window is visible

This commit is contained in:
Mike Blumenkrantz 2013-07-26 12:21:41 +01:00
parent 5c5db39068
commit a5f886ca90
1 changed files with 1 additions and 1 deletions

View File

@ -2785,7 +2785,7 @@ _e_comp_win_configure(E_Comp_Win *cw, int x, int y, int w, int h, int border)
cw->w = w;
cw->h = h;
resized = EINA_TRUE;
if ((!cw->bd) || ((!cw->bd->shading) && (!cw->bd->shaded)))
if (cw->visible && ((!cw->bd) || ((!cw->bd->shading) && (!cw->bd->shaded))))
{
cw->needpix = 1;
// was cw->w / cw->h