projects
/
platform
/
core
/
uifw
/
e-mod-tizen-gesture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f89545
)
using ecore_device_ref/unref to generate ecore events
06/173006/1
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Mon, 19 Mar 2018 07:40:37 +0000
(16:40 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Mon, 19 Mar 2018 07:40:37 +0000
(16:40 +0900)
Change-Id: If76c90a49b0c6118a661700563f41dcd7534deba
src/e_mod_gesture_events.c
patch
|
blob
|
history
diff --git
a/src/e_mod_gesture_events.c
b/src/e_mod_gesture_events.c
index
81c6dd9
..
0768404
100644
(file)
--- a/
src/e_mod_gesture_events.c
+++ b/
src/e_mod_gesture_events.c
@@
-256,6
+256,8
@@
_e_gesture_keyevent_free(void *data EINA_UNUSED, void *ev)
eina_stringshare_del(e->key);
eina_stringshare_del(e->compose);
+ if (e->dev) ecore_device_unref(e->dev);
+
E_FREE(e);
}
@@
-280,7
+282,7
@@
_e_gesture_send_back_key(Eina_Bool pressed)
ev->timestamp = (int)(ecore_time_get()*1000);
ev->same_screen = 1;
ev->keycode = conf->edge_swipe.back_key;
- ev->dev =
gesture->device.kbd_device
;
+ ev->dev =
ecore_device_ref(gesture->device.kbd_device)
;
ev->window = e_comp->ee_win;
if (pressed)