discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=34e6f6ab79033833792d12ad80fdf83db4b87d42

commit 34e6f6ab79033833792d12ad80fdf83db4b87d42
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 7 16:07:25 2017 -0400

    add a client's children to the skiplist during place routine
    
    these should be ignored since they will be positioned relative to the parent
---
 src/bin/e_client.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index b37d429..8a45f08 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1708,6 +1708,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,

-- 


Reply via email to