projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
737f64b
)
ecore-evas: only apply cursor object cache for default pointer
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 26 May 2017 20:34:10 +0000
(16:34 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 26 May 2017 20:27:43 +0000
(16:27 -0400)
@fix
src/lib/ecore_evas/ecore_evas.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_evas/ecore_evas.c
b/src/lib/ecore_evas/ecore_evas.c
index
c794254
..
4f0ba32
100644
(file)
--- 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)
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,