discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8ca293423a2de2d7c288245311b1574ac96403f3

commit 8ca293423a2de2d7c288245311b1574ac96403f3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Mar 8 15:59:57 2016 -0500

    always run client res changes in e_comp_canvas_update()
    
    this function is only called when screen geometry (or useful geometry) has
    changed, and so all clients should have their geometries checked at this 
point
    to ensure that they update for any new zone obstacle changes which have 
occurred
---
 src/bin/e_comp_canvas.c | 41 ++++++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 21 deletions(-)

diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c
index 2506cd5..265448c 100644
--- a/src/bin/e_comp_canvas.c
+++ b/src/bin/e_comp_canvas.c
@@ -583,6 +583,26 @@ e_comp_canvas_update(void)
           }
      }
 
+   for (i = 0; i < 11; i++)
+     {
+        Eina_List *tmp = NULL;
+        E_Client *ec;
+
+        if (!e_comp->layers[i].clients) continue;
+        /* Make temporary list as e_client_res_change_geometry_restore
+         * rearranges the order. */
+        EINA_INLIST_FOREACH(e_comp->layers[i].clients, ec)
+          {
+             if (!e_client_util_ignored_get(ec))
+               tmp = eina_list_append(tmp, ec);
+          }
+
+        EINA_LIST_FREE(tmp, ec)
+          {
+             e_client_res_change_geometry_save(ec);
+             e_client_res_change_geometry_restore(ec);
+          }
+     }
    if (!changed) return;
    if (!starting)
      {
@@ -605,27 +625,6 @@ e_comp_canvas_update(void)
           }
         e_comp_canvas_zone_update(zone);
      }
-
-   for (i = 0; i < 11; i++)
-     {
-        Eina_List *tmp = NULL;
-        E_Client *ec;
-
-        if (!e_comp->layers[i].clients) continue;
-        /* Make temporary list as e_client_res_change_geometry_restore
-         * rearranges the order. */
-        EINA_INLIST_FOREACH(e_comp->layers[i].clients, ec)
-          {
-             if (!e_client_util_ignored_get(ec))
-               tmp = eina_list_append(tmp, ec);
-          }
-
-        EINA_LIST_FREE(tmp, ec)
-          {
-             e_client_res_change_geometry_save(ec);
-             e_client_res_change_geometry_restore(ec);
-          }
-     }
 }
 
 E_API void

-- 


Reply via email to