Fix for window borders to accept edje icons

If you have edje icons installed in your system (efreet smartly searches
the candidate icon based in your Icon= entry), they works correctly in
the menus, bar, etc... but doesn't works in the window borders icon,
this is because the code try's to add it without dealing with the .edj
extensions, probably attempting to load multiple image types and
returning some errors/warning, resulting in an empty icon in the window
borders

Fixes T6723
This commit is contained in:
Thanatermesis 2018-02-22 19:35:38 +01:00 committed by Mike Blumenkrantz
parent 2e0e3a356b
commit c35aaefc1f
1 changed files with 2 additions and 5 deletions

View File

@ -5143,12 +5143,9 @@ e_client_icon_add(E_Client *ec, Evas *evas)
{
if ((ec->desktop) && (ec->icon_preference != E_ICON_PREF_NETWM))
{
o = e_icon_add(evas);
o = e_util_desktop_icon_add(ec->desktop, 64, evas);
if (o)
{
e_icon_fdo_icon_set(o, ec->desktop->icon);
return o;
}
return o;
}
#ifndef HAVE_WAYLAND_ONLY
else if (ec->netwm.icons)