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:
9135476
)
evas_device: remove pointer data for touch device.
43/269843/1
author
Hosang Kim
<hosang12.kim@samsung.com>
Tue, 23 Feb 2021 12:37:42 +0000
(21:37 +0900)
committer
Hosang Kim
<hosang12.kim@samsung.com>
Thu, 20 Jan 2022 10:31:15 +0000
(19:31 +0900)
Pointer data of touch device is always created.
But it can't be removed when device is removed.
Because there is condition for checking mouse or not.
Change-Id: I9132cef203135a605f3aad9684baf79b1766b03e
src/lib/evas/canvas/evas_device.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_device.c
b/src/lib/evas/canvas/evas_device.c
index
c80dbfa
..
26eebd7
100644
(file)
--- a/
src/lib/evas/canvas/evas_device.c
+++ b/
src/lib/evas/canvas/evas_device.c
@@
-112,7
+112,7
@@
_del_cb(void *data, const Efl_Event *ev)
}
}
- if (
devtype == EFL_INPUT_DEVICE_TYPE_MOUSE
)
+ if (
_is_pointer(devtype)
)
_evas_pointer_data_remove(e, ev->object);
eina_hash_del_by_key(e->locks.masks, &ev->object);
eina_hash_del_by_key(e->modifiers.masks, &ev->object);