fetch pixmap id in opaque & input region set functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-10-16 12:20:44 -04:00
parent 270a394d45
commit 22b793a96f
1 changed files with 6 additions and 0 deletions

View File

@ -321,6 +321,9 @@ _e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client EINA_UNUSED, st
/* get the e_pixmap reference */
if (!(ep = wl_resource_get_user_data(resource))) return;
pixid = e_pixmap_window_get(ep);
DBG("\tSurface has Pixmap: %llu", pixid);
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{
@ -364,6 +367,9 @@ _e_comp_wl_surface_cb_input_region_set(struct wl_client *client EINA_UNUSED, str
/* get the e_pixmap reference */
if (!(ep = wl_resource_get_user_data(resource))) return;
pixid = e_pixmap_window_get(ep);
DBG("\tSurface has Pixmap: %llu", pixid);
/* try to find the associated e_client */
if (!(ec = e_pixmap_client_get(ep)))
{