summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:34:10 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:27:43 -0400
commite21847e3fdd89be6bb61d3117c5aa1b747d60cdd (patch)
treea61061ae1141c00f78398ba0c1eae25ae539f4bf /src/lib/ecore_evas
parent737f64b822659dfee595f77efd3f78dd2eee9a78 (diff)
ecore-evas: only apply cursor object cache for default pointer
@fix
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index c7942548e8..4f0ba32dd6 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -344,6 +344,7 @@ _ecore_evas_cursor_add(Ecore_Evas *ee, Efl_Input_Device *dev)
344 Ecore_Evas_Cursor *cursor = calloc(1, sizeof(Ecore_Evas_Cursor)); 344 Ecore_Evas_Cursor *cursor = calloc(1, sizeof(Ecore_Evas_Cursor));
345 EINA_SAFETY_ON_NULL_RETURN(cursor); 345 EINA_SAFETY_ON_NULL_RETURN(cursor);
346 eina_hash_add(ee->prop.cursors, &dev, cursor); 346 eina_hash_add(ee->prop.cursors, &dev, cursor);
347 if (dev != evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_CLASS_MOUSE)) return;
347 if (ee->prop.cursor_cache.object) 348 if (ee->prop.cursor_cache.object)
348 { 349 {
349 ecore_evas_object_cursor_device_set(ee, dev, 350 ecore_evas_object_cursor_device_set(ee, dev,