From: JengHyun Kang Date: Thu, 11 Aug 2016 04:11:52 +0000 (+0900) Subject: ref keymap if modify to current keymap X-Git-Tag: submit/tizen/20160811.053733~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac0fea5b278cf294fdc32c051e7fa5f8ca2e8e69;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-keyrouter.git ref keymap if modify to current keymap Change-Id: I1cde95d1a0035cb9249999f927f731459343bae5 --- diff --git a/src/e_mod_main_wl.c b/src/e_mod_main_wl.c index 4e65a7f..bba5fb1 100755 --- a/src/e_mod_main_wl.c +++ b/src/e_mod_main_wl.c @@ -1109,7 +1109,7 @@ _e_keyrouter_query_tizen_key_table(void) KLINF("Server create a new cache file: %s\n", e_comp_wl_input_keymap_path_get(names)); res = unlink(e_comp_wl_input_keymap_path_get(names)); - e_comp_wl_input_keymap_set(NULL, NULL, NULL, NULL, NULL, xkb_context_ref(e_comp_wl->xkb.context), e_comp_wl->xkb.keymap); + e_comp_wl_input_keymap_set(NULL, NULL, NULL, NULL, NULL, xkb_context_ref(e_comp_wl->xkb.context), xkb_keymap_ref(e_comp_wl->xkb.keymap)); } else KLINF("Currently cache file is exist. Do not change it.\n");