update wl_drm for recent efl_input_device api changes

@jpeg plz http://i1.kym-cdn.com/photos/images/original/000/312/563/05d.jpg
This commit is contained in:
Mike Blumenkrantz 2017-06-12 05:48:32 -04:00
parent b4e96a0aea
commit c2e891bbf4
1 changed files with 2 additions and 2 deletions

View File

@ -832,10 +832,10 @@ _drm_device_del(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *seat = event->info;
if (efl_input_device_type_get(event->info) == EFL_INPUT_DEVICE_CLASS_SEAT) return;
if (efl_input_device_type_get(event->info) == EFL_INPUT_DEVICE_TYPE_SEAT) return;
seat = efl_input_device_seat_get(event->info);
if (seat != evas_default_device_get(e_comp->evas, EFL_INPUT_DEVICE_CLASS_SEAT)) return;
if (seat != evas_default_device_get(e_comp->evas, EFL_INPUT_DEVICE_TYPE_SEAT)) return;
if (!efl_input_device_has_pointer_caps(event->info)) return;
if (efl_input_device_has_pointer_caps(seat) == 1)
ecore_evas_cursor_device_unset(e_comp->ee, event->info);