don't use pixmap size for comp geom updates if border is shading

This commit is contained in:
Mike Blumenkrantz 2013-05-07 08:49:21 +01:00
parent b17a694f04
commit 26b7ff074a
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ _e_comp_win_geometry_update(E_Comp_Win *cw)
w = cw->w, h = cw->h;
else if (cw->bd)
{
if ((!cw->bd->shaded) && cw->pw && cw->ph)
if (((!cw->bd->shaded) && (!cw->bd->shading)) && cw->pw && cw->ph)
w = cw->pw + cw->bd->client_inset.l + cw->bd->client_inset.r, h = cw->ph + cw->bd->client_inset.t + cw->bd->client_inset.b;
else
w = cw->bd->w, h = cw->bd->h;