ref keymap if modify to current keymap 49/83449/1
authorJengHyun Kang <jhyuni.kang@samsung.com>
Thu, 11 Aug 2016 04:11:52 +0000 (13:11 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Thu, 11 Aug 2016 04:11:52 +0000 (13:11 +0900)
Change-Id: I1cde95d1a0035cb9249999f927f731459343bae5

src/e_mod_main_wl.c

index 4e65a7f..bba5fb1 100755 (executable)
@@ -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");