summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/x/ecore_evas_x.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-24 23:45:22 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commitaad95dd6254e525f51a7369c9f7f732e3386f843 (patch)
tree0970b89d69ff4d675c16607d301b59fcae359705 /src/modules/ecore_evas/engines/x/ecore_evas_x.c
parent7b3096f947064daf342f79bff6d37974e365f5de (diff)
ecore evas - module - use correct enums
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 91cd012388..c73e530425 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -1596,7 +1596,7 @@ _ecore_evas_x_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSE
1596 } 1596 }
1597 if (edata->direct_resize) return ECORE_CALLBACK_PASS_ON; 1597 if (edata->direct_resize) return ECORE_CALLBACK_PASS_ON;
1598 1598
1599 pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE); 1599 pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
1600 pointer = evas_device_parent_get(pointer); 1600 pointer = evas_device_parent_get(pointer);
1601 cursor = eina_hash_find(ee->prop.cursors, &pointer); 1601 cursor = eina_hash_find(ee->prop.cursors, &pointer);
1602 EINA_SAFETY_ON_NULL_RETURN_VAL(cursor, ECORE_CALLBACK_PASS_ON); 1602 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,
2330 Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data; 2330 Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
2331 int fw = 0, fh = 0; 2331 int fw = 0, fh = 0;
2332 2332
2333 pointer = evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_TYPE_MOUSE); 2333 pointer = evas_default_device_get(ee->evas, EVAS_DEVICE_CLASS_MOUSE);
2334 pointer = evas_device_parent_get(pointer); 2334 pointer = evas_device_parent_get(pointer);
2335 cursor = eina_hash_find(ee->prop.cursors, &pointer); 2335 cursor = eina_hash_find(ee->prop.cursors, &pointer);
2336 EINA_SAFETY_ON_NULL_RETURN(cursor); 2336 EINA_SAFETY_ON_NULL_RETURN(cursor);