projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441e266
)
alias x11 pixmaps to parent windows during reparent
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:36:38 +0000
(16:36 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:54:00 +0000
(16:54 -0400)
failure to allow pixmaps/clients to be retrived by parent window will
result in api users being greatly inconvenienced after a reparenting has
occurred
src/bin/e_comp_x.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_x.c
b/src/bin/e_comp_x.c
index
72535c6
..
cc619ed
100644
(file)
--- 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);
}