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);
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)
{