Call a release request if a device is removed 90/72790/1 accepted/tizen/common/20160606.141725 accepted/tizen/ivi/20160606.040609 accepted/tizen/mobile/20160606.035215 accepted/tizen/tv/20160606.035908 accepted/tizen/wearable/20160606.040112 submit/tizen/20160603.042314
authorJeongHyun Kang <jhyuni.kang@samsung.com>
Thu, 2 Jun 2016 11:02:05 +0000 (20:02 +0900)
committerJeongHyun Kang <jhyuni.kang@samsung.com>
Thu, 2 Jun 2016 11:02:05 +0000 (20:02 +0900)
Change-Id: I00ab477fdebb799a3554daee3ed18544613973dc

src/lib/ecore_wayland/ecore_wl_input.c

index 3c013aa..86d584d 100644 (file)
@@ -2153,7 +2153,7 @@ _ecore_wl_input_device_manager_cb_device_remove(void *data EINA_UNUSED, struct t
              clas = _ecore_wl_input_cap_to_ecore_device_class(dev->clas);
              _ecore_wl_input_device_info_broadcast(dev->name, dev->identifier, clas, EINA_FALSE);
 
-             if (dev->tz_device) tizen_input_device_destroy(dev->tz_device);
+             if (dev->tz_device) tizen_input_device_release(dev->tz_device);
              if (dev->name) eina_stringshare_del(dev->name);
              if (dev->identifier) eina_stringshare_del(dev->identifier);
              dev->seat = NULL;