fix werid multihead xinerama problem :)

SVN revision: 15970
This commit is contained in:
Carsten Haitzler 2005-07-31 08:25:08 +00:00
parent 69d9e2d0c8
commit 4f114b2faa
1 changed files with 11 additions and 0 deletions

View File

@ -4549,6 +4549,17 @@ _e_border_eval(E_Border *bd)
bd->y + bd->client_inset.t,
bd->client.w,
bd->client.h);
/* if the explicit geometry request asks for the app to be
* in another zone - well move it there */
{
E_Zone *zone;
zone = e_container_zone_at_point_get(bd->zone->container,
bd->x + (bd->w / 2),
bd->y + (bd->h / 2));
if (zone != bd->zone)
e_border_zone_set(bd, zone);
}
}
/* effect changes to the window border itself */