From: Enlightenment S. <no-...@en...> - 2010-06-18 14:19:51
|
Log: should now popup in the right zone Author: jeffdameth Date: 2010-06-18 07:19:33 -0700 (Fri, 18 Jun 2010) New Revision: 49742 Modified: trunk/e/src/modules/everything/evry.c Modified: trunk/e/src/modules/everything/evry.c =================================================================== --- trunk/e/src/modules/everything/evry.c 2010-06-18 11:43:11 UTC (rev 49741) +++ trunk/e/src/modules/everything/evry.c 2010-06-18 14:19:33 UTC (rev 49742) @@ -812,8 +812,8 @@ mw += offset_s*2; mh += offset_s*2; - x = (zone->w * evry_conf->rel_x) - (mw / 2); - y = (zone->h * evry_conf->rel_y) - (mh / 2); + x = (zone->x + (zone->w * evry_conf->rel_x)) - (mw / 2); + y = (zone->y + (zone->h * evry_conf->rel_y)) - (mh / 2); } else { @@ -846,6 +846,9 @@ break; } + x += zone->x; + y += zone->y; + mw += offset_s*2; mh += offset_s*2; } |