From: jihoon Date: Fri, 10 Feb 2012 00:03:25 +0000 (+0000) Subject: scim_immmodule: Provide compose, string in key down/up event in case of scim-input... X-Git-Tag: 2.0_alpha~68^2~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9344515af6515d40e1f6131bb06daf2f7690803e;p=framework%2Fuifw%2Fecore.git scim_immmodule: Provide compose, string in key down/up event in case of scim-input-pad. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67801 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index fc3a8f4..65933c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -482,3 +482,6 @@ * Add ecore_con_url_http_version_set() to set url request version +2012-02-09 Jihoon Kim (jihoon) + + * Provide compose, string in key down/up event in case of scim-input-pad. diff --git a/src/modules/immodules/scim/scim_imcontext.cpp b/src/modules/immodules/scim/scim_imcontext.cpp index ee230f8..06c31f0 100644 --- a/src/modules/immodules/scim/scim_imcontext.cpp +++ b/src/modules/immodules/scim/scim_imcontext.cpp @@ -1539,8 +1539,8 @@ panel_slot_process_key_event(int context, const KeyEvent &key) EcoreIMFContextISF *ic = find_ic(context); SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string() << " ic=" << ic << "\n"; - if (ic && ic->impl && ic->impl->client_canvas) - feed_key_event(ic->impl->client_canvas, key.get_key_string().c_str(), EINA_FALSE); + if (key.is_key_press()) + ecore_x_test_fake_key_press(key.get_key_string().c_str()); } static void