forked from enlightenment/enlightenment
search for desktops by lowercased icccm class if it's different from uppercase
fixes finding firefox and some others
This commit is contained in:
parent
9210b83e5f
commit
fd18b63879
|
@ -8963,6 +8963,16 @@ _e_border_eval(E_Border *bd)
|
|||
snprintf(buf, sizeof(buf), "%s.desktop", bd->client.icccm.class);
|
||||
bd->desktop = efreet_util_desktop_file_id_find(buf);
|
||||
}
|
||||
if (!bd->desktop)
|
||||
{
|
||||
char buf[4096] = {0}, *s;
|
||||
|
||||
strncpy(buf, bd->client.icccm.class, sizeof(buf));
|
||||
s = buf;
|
||||
eina_str_tolower(&s);
|
||||
if (strcmp(s, bd->client.icccm.class))
|
||||
bd->desktop = efreet_util_desktop_exec_find(s);
|
||||
}
|
||||
}
|
||||
if (!bd->desktop)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue