summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 10:46:56 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commitd54d4fb9c8815432101606cf66ce9e29c2c3a903 (patch)
treeee58616599a9a7914a73c41f26a4fa9cec264685
parentc565403bdac8950a1e01fff2cbe67d80052f2918 (diff)
elm cnp/dnd - use right evas device enum for seat
-rw-r--r--src/lib/elementary/elm_cnp.c2
-rw-r--r--src/lib/elementary/elm_dnd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 81963a65d9..60b9c75385 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -71,7 +71,7 @@ _mime_type_to_elm_sel_format(const char *mime_type)
71static int 71static int
72_default_seat(const Eo *obj) 72_default_seat(const Eo *obj)
73{ 73{
74 return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT)); 74 return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EVAS_DEVICE_CLASS_SEAT));
75} 75}
76 76
77EAPI Eina_Bool 77EAPI Eina_Bool
diff --git a/src/lib/elementary/elm_dnd.c b/src/lib/elementary/elm_dnd.c
index f0d1824aca..d0c309a84e 100644
--- a/src/lib/elementary/elm_dnd.c
+++ b/src/lib/elementary/elm_dnd.c
@@ -22,7 +22,7 @@ typedef struct {
22static int 22static int
23_default_seat(const Eo *obj) 23_default_seat(const Eo *obj)
24{ 24{
25 return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT)); 25 return evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EVAS_DEVICE_CLASS_SEAT));
26} 26}
27 27
28static const char* 28static const char*