discomfitor pushed a commit to branch master.

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

commit e7539003bafa3f74f5a7b1c34a9234df1c36f6eb
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 24 14:15:42 2017 -0500

    unadjust wl surface coords before applying position during commit
    
    this seems to fix some positioning issues with internal wins
---
 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 10083d2..bac8488 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1387,7 +1387,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
 
    if (state->new_attach)
      {
-        if (ec->changes.pos)
+        if (ec->changes.pos || ec->internal_elm_win)
           e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &x, &y);
         else
           {

-- 


Reply via email to