elm cnp/dnd - use right evas device enum for seat

This commit is contained in:
Carsten Haitzler 2020-08-25 10:46:56 +01:00
parent c565403bda
commit d54d4fb9c8
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ _mime_type_to_elm_sel_format(const char *mime_type)
static int
_default_seat(const Eo *obj)
{
return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT));
return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EVAS_DEVICE_CLASS_SEAT));
}
EAPI Eina_Bool

View File

@ -22,7 +22,7 @@ typedef struct {
static int
_default_seat(const Eo *obj)
{
return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT));
return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EVAS_DEVICE_CLASS_SEAT));
}
static const char*