forked from enlightenment/enlightenment
pass surface resource when creating wl surface pixmaps
This commit is contained in:
parent
0bb444bb21
commit
f276023e71
|
@ -1377,7 +1377,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, resource)))
|
||||
if (!(ep = e_pixmap_new(E_PIXMAP_TYPE_WL, res)))
|
||||
{
|
||||
ERR("Could not create new pixmap");
|
||||
wl_resource_destroy(res);
|
||||
|
|
Loading…
Reference in New Issue