diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-08 12:48:26 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-08 12:49:24 -0500 |
commit | c267535bfaa2255141687c72a3e413a87ac008e4 (patch) | |
tree | b7abc60d0f425612f02545006c6e46af9682f874 | |
parent | 38e4e2b9a97eb60b7918a9bc0a026f2aee9bf3db (diff) | |
download | enlightenment-c267535bfaa2255141687c72a3e413a87ac008e4.tar.gz |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e_win.c b/src/bin/e_win.c index 31150b589e..eef203657d 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) 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); +#ifdef HAVE_WAYLAND + else if (ctx->client) + e_pixmap_alias(NULL, E_PIXMAP_TYPE_WL, ecore_wl2_window_surface_id_get(elm_win_wl_window_get(o))); +#endif if (!ctx->client) return EINA_TRUE; ctx->visible = 0; |