force non-internal wl clients to hide when gl is not available
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 5 Mar 2015 16:59:29 +0000 (11:59 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 5 Mar 2015 16:59:29 +0000 (11:59 -0500)
src/bin/e_comp_wl.c

index c558952..6ec02a5 100644 (file)
@@ -1355,6 +1355,8 @@ _e_comp_wl_surface_destroy(struct wl_resource *resource)
    if (!(ec = e_pixmap_client_get(ep)))
      return;
 
+   if ((!ec->internal) && (!e_comp_gl_get()))
+     ec->hidden = 1;
    evas_object_hide(ec->frame);
    e_object_del(E_OBJECT(ec));
 }