forked from enlightenment/efl
This is valid. StartupWMClass can match either name or class, check
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html SVN revision: 29389
This commit is contained in:
parent
d6277241e0
commit
9c2d4cf883
|
@ -616,10 +616,8 @@ efreet_util_cache_search_wm_class(const void *value, const void *data)
|
|||
if (!ud->desktop->startup_wm_class) return 1;
|
||||
if ((search->what2) && (!strcmp(ud->desktop->startup_wm_class, search->what2)))
|
||||
return 0;
|
||||
/* this isn't really valid - we look at class only, not name
|
||||
else if ((search->what1) && (!strcmp(desktop->startup_wm_class, search->what1)))
|
||||
return 0;
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue