summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 16:04:57 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 16:04:57 -0400
commitf2ad686fc3e7f4a5199e519e7c6ef0b1bbafad6e (patch)
tree3cd5ebfb9eeb3efc19fd343f1fb4a4840d28b83a
parente2390bebffcdcaffe0bef8e470b4e452836ee680 (diff)
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
-rw-r--r--src/bin/e_comp_x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 74f74e489..f7a8a1d8a 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -4515,6 +4515,10 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
4515 */ 4515 */
4516 e_comp_object_frame_geometry_set(ec->frame, 4516 e_comp_object_frame_geometry_set(ec->frame,
4517 -extents[0], -extents[1], -extents[2], -extents[3]); 4517 -extents[0], -extents[1], -extents[2], -extents[3]);
4518 if (ec->override &&
4519 (ec->x == ec->comp_data->initial_attributes.x) &&
4520 (ec->y == ec->comp_data->initial_attributes.y))
4521 e_comp_object_frame_xy_adjust(ec->frame, ec->x, ec->y, &ec->x, &ec->y);
4518 free(data); 4522 free(data);
4519 } 4523 }
4520 cd->fetch_gtk_frame_extents = 0; 4524 cd->fetch_gtk_frame_extents = 0;