discomfitor pushed a commit to branch master.

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

commit d07408e76c7358f99b8189c269d27a6cde4d1b41
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 18 15:52:52 2017 -0400

    do not center xwl clients on their parent during first commit
    
    xwl clients are placed differently
    
    ref b817db7f09e6733fc59310a393494a60d9ea8910
    
    fix T5845
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 4ce967e54..8115ccbe3 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1353,9 +1353,9 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
                {
                   ec->take_focus = !starting || ec->internal_elm_win;
                   ec->want_focus = ec->override && !e_client_util_is_popup(ec) 
&& !ec->parent;
+                  if (ec->parent && (!ec->lock_user_location) && 
(!e_client_util_is_popup(ec)))
+                    e_comp_object_util_center_on(ec->frame, ec->parent->frame);
                }
-             if (ec->parent && (!ec->lock_user_location) && 
(!e_client_util_is_popup(ec)))
-               e_comp_object_util_center_on(ec->frame, ec->parent->frame);
           }
      }
 

-- 


Reply via email to