rescale x11 clients after fetching hints

ensure that clients initially respect useful geometry after size hints
have been fetched
This commit is contained in:
Mike Blumenkrantz 2017-08-04 16:23:39 -04:00
parent f892b360fe
commit c804650482
1 changed files with 5 additions and 3 deletions

View File

@ -3784,9 +3784,11 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
ec->placed = 1;
}
}
}
else
{
if (ec->placed && (!e_client_util_resizing_get(ec)))
{
e_client_res_change_geometry_save(ec);
e_client_res_change_geometry_restore(ec);
}
}
if (ec->icccm.min_w > 32767) ec->icccm.min_w = 32767;
if (ec->icccm.min_h > 32767) ec->icccm.min_h = 32767;