add a client's children to the skiplist during place routine

these should be ignored since they will be positioned relative to the parent
This commit is contained in:
Mike Blumenkrantz 2017-04-07 16:07:25 -04:00
parent 014db9469b
commit d4b8404073
1 changed files with 2 additions and 0 deletions

View File

@ -1899,6 +1899,8 @@ _e_client_eval(E_Client *ec)
else if ((e_config->window_placement_policy == E_WINDOW_PLACEMENT_SMART) || (e_config->window_placement_policy == E_WINDOW_PLACEMENT_ANTIGADGET))
{
skiplist = eina_list_append(skiplist, ec);
if (ec->transients)
skiplist = eina_list_merge(skiplist, eina_list_clone(ec->transients));
if (ec->desk)
e_place_desk_region_smart(ec->desk, skiplist,
ec->x, ec->y, ec->w, ec->h,