forked from enlightenment/efl
ecore evas - module - use correct enums
This commit is contained in:
parent
7b3096f947
commit
aad95dd625
|
@ -61,7 +61,7 @@ _ecore_evas_mouse_move_process_fb(Ecore_Evas *ee, int x, int y)
|
|||
|
||||
ecore_fb_size_get(&fbw, &fbh);
|
||||
|
||||
pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE);
|
||||
pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
|
||||
pointer = evas_device_parent_get(pointer);
|
||||
cursor = eina_hash_find(ee->prop.cursors, &pointer);
|
||||
EINA_SAFETY_ON_NULL_RETURN(cursor);
|
||||
|
@ -330,7 +330,7 @@ _ecore_evas_rotation_set(Ecore_Evas *ee, int rotation, int resize EINA_UNUSED)
|
|||
Evas_Engine_Info_FB *einfo;
|
||||
int rot_dif;
|
||||
|
||||
pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE);
|
||||
pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
|
||||
pointer = evas_device_parent_get(pointer);
|
||||
cursor = eina_hash_find(ee->prop.cursors, &pointer);
|
||||
EINA_SAFETY_ON_NULL_RETURN(cursor);
|
||||
|
|
|
@ -2427,7 +2427,7 @@ _reeval_seat(unsigned int *seat, Ecore_Evas *ee)
|
|||
{
|
||||
*seat =
|
||||
evas_device_seat_id_get(evas_default_device_get
|
||||
(ee->evas, EFL_INPUT_DEVICE_TYPE_SEAT));
|
||||
(ee->evas, EVAS_DEVICE_CLASS_SEAT));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1596,7 +1596,7 @@ _ecore_evas_x_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSE
|
|||
}
|
||||
if (edata->direct_resize) return ECORE_CALLBACK_PASS_ON;
|
||||
|
||||
pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE);
|
||||
pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
|
||||
pointer = evas_device_parent_get(pointer);
|
||||
cursor = eina_hash_find(ee->prop.cursors, &pointer);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(cursor, ECORE_CALLBACK_PASS_ON);
|
||||
|
@ -2330,7 +2330,7 @@ _ecore_evas_x_rotation_set_internal(Ecore_Evas *ee, int rotation, int resize,
|
|||
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
|
||||
int fw = 0, fh = 0;
|
||||
|
||||
pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE);
|
||||
pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
|
||||
pointer = evas_device_parent_get(pointer);
|
||||
cursor = eina_hash_find(ee->prop.cursors, &pointer);
|
||||
EINA_SAFETY_ON_NULL_RETURN(cursor);
|
||||
|
|
Loading…
Reference in New Issue