summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-08 12:48:26 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:45:40 -0500
commita0fc71752d5a0a7cac720f7997cf9c42096e7201 (patch)
tree9ac49b94aed1ac34d928f741195666c16f8e0098
parent638c3dfbe1171237c102244a9c8b5a529c536092 (diff)
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
-rw-r--r--src/bin/e_win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 31150b589..eef203657 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -51,6 +51,10 @@ _e_elm_win_trap_hide(void *data, Evas_Object *o)
51 if (!ctx->visible) return EINA_FALSE; 51 if (!ctx->visible) return EINA_FALSE;
52 if (strncmp(ecore_evas_engine_name_get(e_win_ee_get(o)), "wayland", 7)) 52 if (strncmp(ecore_evas_engine_name_get(e_win_ee_get(o)), "wayland", 7))
53 E_FREE_FUNC(ctx->pointer, e_object_del); 53 E_FREE_FUNC(ctx->pointer, e_object_del);
54#ifdef HAVE_WAYLAND
55 else if (ctx->client)
56 e_pixmap_alias(NULL, E_PIXMAP_TYPE_WL, ecore_wl2_window_surface_id_get(elm_win_wl_window_get(o)));
57#endif
54 58
55 if (!ctx->client) return EINA_TRUE; 59 if (!ctx->client) return EINA_TRUE;
56 ctx->visible = 0; 60 ctx->visible = 0;