projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9210b83
)
search for desktops by lowercased icccm class if it's different from uppercase
author
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Thu, 3 Oct 2013 10:21:47 +0000
(11:21 +0100)
committer
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Thu, 3 Oct 2013 10:22:32 +0000
(11:22 +0100)
fixes finding firefox and some others
src/bin/e_border.c
patch
|
blob
|
history
diff --git
a/src/bin/e_border.c
b/src/bin/e_border.c
index
53ec883
..
8f3f1a6
100644
(file)
--- a/
src/bin/e_border.c
+++ b/
src/bin/e_border.c
@@
-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)
{