discomfitor pushed a commit to branch master.

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

commit 31994d48765e6b6534c5a68f4bcd09f228018281
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 11 18:48:53 2017 -0400

    don't center wl popups on their parents
    
    ref b817db7f09e6733fc59310a393494a60d9ea8910
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 519b2ed27..09462e420 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1349,7 +1349,7 @@ _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))
+             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