diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index 8a0cf1face..6955980e7a 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -73,9 +73,11 @@ ecore_imf_context_default_id_by_canvas_type_get(const char *canvas_type) } else { - if (getenv("DISPLAY")) id = "scim"; - else if (getenv("WAYLAND_DISPLAY")) id = "wayland"; - if (ecore_imf_module_get(id)) return id; + if (getenv("WAYLAND_DISPLAY")) + { + id = "wayland"; + if (ecore_imf_module_get(id)) return id; + } return NULL; }