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 <cpmichael@osg.samsung.com>
This commit is contained in:
parent
37ad839f51
commit
67170f40a1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue