exceed has different behvior with the shape extn - it provides a rect for the

window shape regardlss if the shape was set or not.


SVN revision: 23689
This commit is contained in:
Carsten Haitzler 2006-07-03 12:45:16 +00:00
parent 3e561f3aab
commit fcd8b2e28f
1 changed files with 9 additions and 1 deletions

View File

@ -509,7 +509,15 @@ e_container_shape_rects_set(E_Container_Shape *es, Ecore_X_Rectangle *rects, int
evas_list_free(es->shape);
es->shape = NULL;
}
if (rects)
if ((rects) && (num == 1) &&
(rects[0].x == 0) &&
(rects[0].y == 0) &&
(rects[0].width == es->w) &&
(rects[0].height == es->h))
{
/* do nothing */
}
else if (rects)
{
for (i = 0; i < num; i++)
{