discomfitor pushed a commit to branch master.

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

commit 3c722ac7f21937f150cc2bb24968961a04e0a157
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 6 19:17:51 2015 -0400

    alias xwl client pixmaps -> wl surface pixmaps
    
    it's now possible to retrieve the xwl client using the xwl xwindow
---
 src/bin/e_comp_x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 6592d27..5984fc4 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -4468,6 +4468,7 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client 
*ec)
           e_comp_wl_client_xwayland_setup(ec, NULL, NULL);
         else
           {
+             e_pixmap_alias(NULL, E_PIXMAP_TYPE_X, 
e_comp_x_client_pixmap_get(ec));
              free(cd);
              e_pixmap_free(e_comp_x_client_pixmap_get(ec));
           }
@@ -5454,6 +5455,7 @@ e_comp_x_xwayland_client_setup(E_Client *ec, E_Client *wc)
    evas_object_layer_set(wc->frame, evas_object_layer_get(ec->frame));
    evas_object_geometry_set(wc->frame, ec->x, ec->y, ec->w, ec->h);
    evas_object_show(wc->frame);
+   e_pixmap_alias(wc->pixmap, E_PIXMAP_TYPE_X, 
e_pixmap_window_get(ec->pixmap));
    e_object_del(E_OBJECT(ec));
    e_hints_window_visible_set(wc);
    _e_comp_x_client_stack(wc);

-- 


Reply via email to