fix comp win geometry updates for shaded windows

This commit is contained in:
Mike Blumenkrantz 2013-04-18 12:44:19 +01:00
parent 53330cc2e1
commit 1071bd9020
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ _e_comp_win_geometry_update(E_Comp_Win *cw)
w = cw->w, h = cw->h;
else if (cw->bd)
{
if (cw->pw && cw->ph)
if ((!cw->bd->shaded) && 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;