discomfitor pushed a commit to branch master.

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

commit d08abd43fd31dcc4b3ef763de84480edbbf46973
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Mar 15 16:12:05 2016 -0400

    adjust wayland client coords by window_geometry during first surface commit
    
    fixes first window positioning
---
 src/bin/e_comp_wl.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index bc0073e..5f2892f 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1041,7 +1041,11 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
         if (ec->changes.pos)
           e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &x, &y);
         else
-          x = ec->client.x, y = ec->client.y;
+          {
+             x = ec->client.x, y = ec->client.y;
+             if (ec->new_client)
+               x -= ec->comp_data->shell.window.x, y -= 
ec->comp_data->shell.window.y;
+          }
 
         if (ec->new_client) placed = ec->placed;
 

-- 


Reply via email to