summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunSeok, Kim <juns.kim@samsung.com>2017-09-07 21:22:48 +0900
committerJunSeok, Kim <juns.kim@samsung.com>2017-09-07 21:22:48 +0900
commitfe784d50e1348e1b6bcae55cbe2827de6753a440 (patch)
tree3ef8a47d4cb3c31bdc0bfc8e9766c6ae86945029
parent66bc7b298407e297f70ddc45d64ea23568a47d5f (diff)
downloade-mod-tizen-keyrouter-accepted/tizen_3.0_common.tar.gz
e-mod-tizen-keyrouter-accepted/tizen_3.0_common.tar.bz2
e-mod-tizen-keyrouter-accepted/tizen_3.0_common.zip
Change-Id: I51259c9f4c35dcd4883d1f12a03b15f6f63845f8
-rw-r--r--src/e_mod_main_wl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e_mod_main_wl.c b/src/e_mod_main_wl.c
index f6da905..1ecd3ec 100644
--- a/src/e_mod_main_wl.c
+++ b/src/e_mod_main_wl.c
@@ -827,7 +827,7 @@ _e_keyrouter_cb_bind(struct wl_client *client, void *data, uint32_t version, uin
E_KeyrouterPtr krt_instance = data;
struct wl_resource *resource;
- resource = wl_resource_create(client, &tizen_keyrouter_interface, MIN(version, 2), id);
+ resource = wl_resource_create(client, &tizen_keyrouter_interface, version, id);
KLDBG("wl_resource_create(...,&tizen_keyrouter_interface,...)");
@@ -1181,7 +1181,7 @@ _e_keyrouter_init(E_Module *m)
ecore_idle_enterer_add(_e_keyrouter_cb_idler, NULL);
_e_keyrouter_init_handlers();
- krt->global = wl_global_create(e_comp_wl->wl.disp, &tizen_keyrouter_interface, 2, krt, _e_keyrouter_cb_bind);
+ krt->global = wl_global_create(e_comp_wl->wl.disp, &tizen_keyrouter_interface, 1, krt, _e_keyrouter_cb_bind);
if (!krt->global)
{
KLERR("Failed to create global !");