From: Mike Blumenkrantz Date: Thu, 17 Sep 2015 20:36:38 +0000 (-0400) Subject: alias x11 pixmaps to parent windows during reparent X-Git-Tag: upstream/0.20.0~287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f3e730964549def4f962eda2e9a2147da484e92;p=platform%2Fupstream%2Fenlightenment.git alias x11 pixmaps to parent windows during reparent failure to allow pixmaps/clients to be retrived by parent window will result in api users being greatly inconvenienced after a reparenting has occurred --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 72535c6..cc619ed 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -2996,6 +2996,7 @@ _e_comp_x_hook_client_pre_frame_assign(void *d EINA_UNUSED, E_Client *ec) if (!ec->internal) ecore_x_window_save_set_add(win); ecore_x_window_reparent(win, pwin, 0, 0); + e_pixmap_alias(ep, E_PIXMAP_TYPE_X, pwin); { unsigned int managed = 1; @@ -4457,6 +4458,7 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec) ecore_x_window_reparent(win, e_comp->root, cd->initial_attributes.x, cd->initial_attributes.y); + e_pixmap_alias(NULL, E_PIXMAP_TYPE_X, pwin); if (!ec->internal) ecore_x_window_save_set_del(win); }