From 67170f40a1a901101591c8102631dbec8e49794b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 19 Jan 2016 10:44:37 -0500 Subject: [PATCH] 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 --- 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 0833db155..ba620701a 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);