From: <enl...@li...> - 2005-07-31 08:25:18
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: fix werid multihead xinerama problem :) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.349 retrieving revision 1.350 diff -u -3 -r1.349 -r1.350 --- e_border.c 31 Jul 2005 06:22:31 -0000 1.349 +++ e_border.c 31 Jul 2005 08:25:08 -0000 1.350 @@ -4549,6 +4549,17 @@ 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 */ |