forked from enlightenment/efl
ecore_imf: if ECORE_IMF_MODULE is set to "none", don't use any IMF module
Patch by andrunko. SVN revision: 34361
This commit is contained in:
parent
3938160157
commit
97c0e0b5d3
|
@ -89,7 +89,11 @@ ecore_imf_context_default_id_by_canvas_type_get(const char *canvas_type)
|
|||
int best_goodness = 0;
|
||||
|
||||
id = getenv("ECORE_IMF_MODULE");
|
||||
if (id && ecore_imf_module_get(id)) return id;
|
||||
if (id)
|
||||
{
|
||||
if (strcmp(id, "none") == 0) return NULL;
|
||||
if (ecore_imf_module_get(id)) return id;
|
||||
}
|
||||
|
||||
modules = ecore_imf_module_available_get();
|
||||
if (!modules) return NULL;
|
||||
|
|
Loading…
Reference in New Issue