From f276023e71f83787d35f689c1a6657f29ef16a52 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 21 Apr 2015 15:41:10 -0400 Subject: [PATCH] pass surface resource when creating wl surface pixmaps --- 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 7e3620f..b1ecb11 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -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); -- 2.7.4