fetch pixmap id in opaque & input region set functions
authorChris Michael <cp.michael@samsung.com>
Thu, 16 Oct 2014 16:20:44 +0000 (12:20 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 30 Oct 2014 14:39:07 +0000 (10:39 -0400)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_comp_wl.c

index c3df522..73b46b1 100644 (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)))
      {