From f193f90ce8bb5909bf53e21b66a124420fc310ae Mon Sep 17 00:00:00 2001 From: Chidambar Zinnoury Date: Mon, 21 Apr 2014 23:04:47 +0200 Subject: [PATCH] Bugfix: e syscon: Use correct coordinates to have the dialog centered on multiple zones. --- src/modules/syscon/e_syscon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/syscon/e_syscon.c b/src/modules/syscon/e_syscon.c index e1bde1143..898631c8f 100644 --- a/src/modules/syscon/e_syscon.c +++ b/src/modules/syscon/e_syscon.c @@ -264,10 +264,10 @@ e_syscon_show(E_Zone *zone, const char *defact) w = mw; if (w > zw) w = zw; - x = zx - zone->x + (zw - w) / 2; + x = zx + (zw - w) / 2; h = mh; if (h > zh) h = zh; - y = zy - zone->y + (zh - h) / 2; + y = zy + (zh - h) / 2; evas_object_geometry_set(popup, x, y, w, h);