always get zone geometry when placing clients

previous codepaths relied on new_client being set, which would have
fetched the zone geometry earlier. this is no longer necessarily the
case
This commit is contained in:
Mike Blumenkrantz 2017-03-17 13:17:02 -04:00
parent 20dfb3c0df
commit be5ef5e6c4
1 changed files with 1 additions and 0 deletions

View File

@ -1774,6 +1774,7 @@ _e_client_eval(E_Client *ec)
e_hints_window_init(ec);
if ((!e_client_util_ignored_get(ec)) && ec->zone && ec->visible && (!ec->placed))
{
e_zone_useful_geometry_get(ec->zone, &zx, &zy, &zw, &zh);
if (ec->parent)
{
Eina_Bool centered = EINA_FALSE;