'everything' module: show on current zone

SVN revision: 41192
This commit is contained in:
Hannes Janetzek 2009-06-25 05:56:02 +00:00
parent 9f2914ffe4
commit ca0d5bcc8c
1 changed files with 2 additions and 2 deletions

View File

@ -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;