set transparent state for luncher preview wins when win has alpha

this should probably use a mask to provide just the outline in the theme?

@jpeg

fix T5741
This commit is contained in:
Mike Blumenkrantz 2017-08-18 15:52:52 -04:00
parent 487eb17d5f
commit 2832d893cc
1 changed files with 2 additions and 0 deletions

View File

@ -836,6 +836,8 @@ _bar_icon_preview_client_add(Icon *ic, E_Client *ec)
img = e_comp_object_util_mirror_add(ec->frame);
edje_extern_object_aspect_set(img, EDJE_ASPECT_CONTROL_BOTH, ec->client.w, ec->client.h);
elm_layout_content_set(layout, "e.swallow.icon", img);
if (evas_object_image_alpha_get(img))
elm_layout_signal_emit(layout, "e,state,icon,menu", "e");
evas_object_show(img);
if (!(ec->desk->visible) || (ec->iconic))