devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=67170f40a1a901101591c8102631dbec8e49794b

commit 67170f40a1a901101591c8102631dbec8e49794b
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Tue Jan 19 10:44:37 2016 -0500

    Fix issue of compositor surface create passing wrong parameter to
    e_pixmap_new function
    
    e_pixmap_new (when creating wayland windows) is expecting to get a
    uintptr_t type passed into it (surface id). Previously we were passing
    the entire wl_resource.
    
    ref T3058
    
    Signed-off-by: Chris Michael <cpmich...@osg.samsung.com>
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 0833db1..ba62070 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1502,7 +1502,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client 
*client, struct wl_reso
         E_Pixmap *ep;
 
         /* try to create new pixmap */
-        if (!(ep = e_pixmap_new(E_PIXMAP_TYPE_WL, res)))
+        if (!(ep = e_pixmap_new(E_PIXMAP_TYPE_WL, (uintptr_t)id)))
           {
              ERR("Could not create new pixmap");
              wl_resource_destroy(res);

-- 


Reply via email to