From ca0d5bcc8c98e431508f6a936a113b1bbb5d0464 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Thu, 25 Jun 2009 05:56:02 +0000 Subject: [PATCH] 'everything' module: show on current zone SVN revision: 41192 --- src/modules/everything/evry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index 986b1a488..5ef0cf557 100644 --- a/src/modules/everything/evry.c +++ b/src/modules/everything/evry.c @@ -153,8 +153,8 @@ evry_show(E_Zone *zone) return 0; } - x = zone->x + (zone->w / 2) - (evry_conf->width / 2); - y = zone->y + (zone->h / 2) - (evry_conf->height / 2); + x = (zone->w / 2) - (evry_conf->width / 2); + y = (zone->h / 2) - (evry_conf->height / 2); popup = e_popup_new(zone, x, y, evry_conf->width, evry_conf->height); if (!popup) return 0;