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:
6632f4d
)
evas: simplify seat-getting during key event dispatch
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 2 Jun 2017 22:23:45 +0000
(18:23 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 2 Jun 2017 22:23:42 +0000
(18:23 -0400)
src/lib/evas/canvas/evas_events.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_events.c
b/src/lib/evas/canvas/evas_events.c
index
5c77157
..
94960f0
100644
(file)
--- a/
src/lib/evas/canvas/evas_events.c
+++ b/
src/lib/evas/canvas/evas_events.c
@@
-3060,11
+3060,7
@@
_key_event_dispatch(Evas_Public_Data *e, void *event_info,
{
const char *name = efl_input_device_name_get(device);
- while ((device = efl_input_device_parent_get(device)))
- {
- if (efl_input_device_type_get(device) == EFL_INPUT_DEVICE_CLASS_SEAT)
- break;
- }
+ device = efl_input_device_seat_get(device);
if (!device)
{
ERR("Could not find the parent seat from device name '%s'. Using default seat instead", name);