There was a bug that drag didn't end when mouse just click without any
motion.
It caused by the device id assign when the pointer moves.
For fix the issue, end drag that the device_id didn't assigned on
mouse_up callback.
Change-Id: I2e52915a006de65fe16de36e466a466e70dd7410
int device_id = e_comp_wl_data_current_device_id_get();
if (ev->window != _drag_win) return ECORE_CALLBACK_PASS_ON;
- if (ev->multi.device != device_id) return ECORE_CALLBACK_PASS_ON;
+ if ((device_id >= 0) &&
+ (ev->multi.device != device_id))
+ return ECORE_CALLBACK_PASS_ON;
if (_drag_current && _drag_current->button_mask)
{