devicemgr: revert version of tizen_input_device_manager_interface from 3 to 2 22/148422/1 accepted/tizen/4.0/unified/20170913.003148 accepted/tizen/unified/20170913.070759 submit/tizen/20170911.065216 submit/tizen_4.0/20170911.120310
authorJengHyun Kang <jhyuni.kang@samsung.com>
Fri, 8 Sep 2017 02:06:16 +0000 (11:06 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Fri, 8 Sep 2017 02:06:16 +0000 (11:06 +0900)
Change-Id: Ifb3cfd723bdc223383640495a688dd40d2d422ff

src/e_devicemgr_device.c

index 1ea495427ae3f132bc65c8f2ea1ba64dc5129ea5..5fcf5a039a75d0dfdf973d64bcbee0ea3c5fc4cc 100644 (file)
@@ -1901,7 +1901,7 @@ _e_devicemgr_device_mgr_cb_bind(struct wl_client *client, void *data, uint32_t v
    if (!e_comp_wl) return;
    if (!e_comp_wl->wl.disp) return;
 
-   if (!(res = wl_resource_create(client, &tizen_input_device_manager_interface, MIN(version, 3), id)))
+   if (!(res = wl_resource_create(client, &tizen_input_device_manager_interface, version, id)))
      {
         DMERR("Could not create tizen_devices_interface resource: %m");
         wl_client_post_no_memory(client);
@@ -2059,7 +2059,7 @@ e_devicemgr_device_init(void)
    TRACE_INPUT_BEGIN(e_devicemgr_device_init);
 
    /* try to add tizen_input_device_manager to wayland globals */
-   e_comp_wl->input_device_manager.global = wl_global_create(e_comp_wl->wl.disp, &tizen_input_device_manager_interface, 3,
+   e_comp_wl->input_device_manager.global = wl_global_create(e_comp_wl->wl.disp, &tizen_input_device_manager_interface, 2,
                          NULL, _e_devicemgr_device_mgr_cb_bind);
    if (!e_comp_wl->input_device_manager.global)
      {