ecore-evas: only apply cursor object cache for default pointer

@fix
This commit is contained in:
Mike Blumenkrantz 2017-05-26 16:34:10 -04:00
parent 737f64b822
commit e21847e3fd
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ _ecore_evas_cursor_add(Ecore_Evas *ee, Efl_Input_Device *dev)
Ecore_Evas_Cursor *cursor = calloc(1, sizeof(Ecore_Evas_Cursor));
EINA_SAFETY_ON_NULL_RETURN(cursor);
eina_hash_add(ee->prop.cursors, &dev, cursor);
if (dev != evas_default_device_get(ee->evas, EFL_INPUT_DEVICE_CLASS_MOUSE)) return;
if (ee->prop.cursor_cache.object)
{
ecore_evas_object_cursor_device_set(ee, dev,