aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorShinwoo Kim <kimcinoo.efl@gmail.com>2012-11-30 11:50:52 +0000
committerShinwoo Kim <kimcinoo.efl@gmail.com>2012-11-30 11:50:52 +0000
commit80d7b56b1f3e08d5a12183db337ec97c26cd4a3b (patch)
treef1bd14a5108691c1dadb0e20845d1d8369a4fb4a /legacy/elementary/src/lib/elm_win.c
parentelm: Lets make it compile again. (diff)
downloadefl-80d7b56b1f3e08d5a12183db337ec97c26cd4a3b.tar.gz
[access] enhance access features
1. add access lines for ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ 2. add _elm_access_highlight_cycle(); becase there is a case that highlight object would be different with focused object after user moves finger to specific object which does not have focus currently. SVN revision: 79884
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 18562dea19..372187ff2e 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1890,17 +1890,21 @@ _elm_win_client_message(void *data,
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ)
{
- // XXX: call right access func
+ /* there would be better way to read highlight object */
+ int x, y;
+ ecore_x_pointer_xy_get(sd->x.xwin, &x, &y);
+ ecore_x_mouse_in_send(sd->x.xwin, x, y);
+ ecore_x_mouse_move_send(sd->x.xwin, x, y);
}
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT)
{
- // XXX: call right access func
+ _elm_access_highlight_cycle(sd->obj, ELM_FOCUS_NEXT);
}
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV)
{
- // XXX: call right access func
+ _elm_access_highlight_cycle(sd->obj, ELM_FOCUS_PREVIOUS);
}
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_UP)