remove missed use of E_COMP_WL_PIXMAP_CHECK macro
authorChris Michael <cp.michael@samsung.com>
Fri, 27 Feb 2015 15:59:59 +0000 (10:59 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 27 Feb 2015 15:59:59 +0000 (10:59 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_comp_wl.c

index 66caff27dc520f45bdb3183e0fdec50313056284..993fa92f29c8d702313b7eb36c5db858306eb0e5 100644 (file)
@@ -562,7 +562,9 @@ _e_comp_wl_evas_cb_state_update(void *data, Evas_Object *obj EINA_UNUSED, void *
 
    if (e_object_is_del(E_OBJECT(ec))) return;
 
-   E_COMP_WL_PIXMAP_CHECK;
+   /* check for wayland pixmap */
+   if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
+
    if (ec->comp_data->shell.configure_send)
      ec->comp_data->shell.configure_send(ec->comp_data->shell.surface, 0, 0, 0);
 }