unalias internal wl client pixmaps in elm win hide trap callback

this seems to be the best place to remove the alias since it is initially
added in the corresponding show callback
This commit is contained in:
Mike Blumenkrantz 2016-11-08 12:48:26 -05:00
parent 38e4e2b9a9
commit c267535bfa
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ _e_elm_win_trap_hide(void *data, Evas_Object *o)
if (!ctx->visible) return EINA_FALSE;
if (strncmp(ecore_evas_engine_name_get(e_win_ee_get(o)), "wayland", 7))
E_FREE_FUNC(ctx->pointer, e_object_del);
else if (ctx->client)
e_pixmap_alias(NULL, E_PIXMAP_TYPE_WL, ecore_wl2_window_surface_id_get(elm_win_wl_window_get(o)));
if (!ctx->client) return EINA_TRUE;
ctx->visible = 0;