discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 2ddd4d9bda9906c83b0b1439cb3f46445f1c4082
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue May 10 16:04:57 2016 -0400

    handle positioning of x11 overrides with csd accurately
    
    when first applying the csd region to this type of window the coords must
    be adjusted in order to account for the shadow
    
    fix T2934, T2931
---
 src/bin/e_comp_x.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 1776f82..834c472 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -4435,6 +4435,10 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, 
E_Client *ec)
               */
              e_comp_object_frame_geometry_set(ec->frame,
                -extents[0], -extents[1], -extents[2], -extents[3]);
+             if (ec->override &&
+                (ec->x == ec->comp_data->initial_attributes.x) &&
+                (ec->y == ec->comp_data->initial_attributes.y))
+               e_comp_object_frame_xy_adjust(ec->frame, ec->x, ec->y, &ec->x, 
&ec->y);
              free(data);
           }
         cd->fetch_gtk_frame_extents = 0;

-- 


Reply via email to