pass surface resource when creating wl surface pixmaps

This commit is contained in:
Mike Blumenkrantz 2015-04-21 15:41:10 -04:00
parent 0bb444bb21
commit f276023e71
1 changed files with 1 additions and 1 deletions

View File

@ -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);