summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-05-22 12:09:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-05-22 12:09:06 +0000
commit06a3cbaf42c5a8b44a3a89c30be557a6c6eaa10f (patch)
tree8f4ab6f57b373aa8225ae21cdccaa39d1b6a3e51 /legacy/ecore/src/lib/ecore_x
parent5600b332a41cb88c0ff3326559f88930b11d1b47 (diff)
Add ecore_x_mouse_in_send() and ecore_x_mouse_out_send()
Add ecore_x illume access control/action atoms+api's SVN revision: 71320
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x')
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X.h19
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h7
-rw-r--r--legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c100
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c66
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c60
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c8
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c60
9 files changed, 333 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
index 85253af..441610b 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
@@ -1807,7 +1807,11 @@ ecore_x_mouse_up_send(Ecore_X_Window win,
1807 int x, 1807 int x,
1808 int y, 1808 int y,
1809 int b); 1809 int b);
1810 1810EAPI Eina_Bool
1811ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y);
1812EAPI Eina_Bool
1813ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y);
1814
1811EAPI void 1815EAPI void
1812ecore_x_drawable_geometry_get(Ecore_X_Drawable d, 1816ecore_x_drawable_geometry_get(Ecore_X_Drawable d,
1813 int *x, 1817 int *x,
@@ -2349,6 +2353,19 @@ EAPI void
2349EAPI void 2353EAPI void
2350 ecore_x_e_illume_home_del_send(Ecore_X_Window win); 2354 ecore_x_e_illume_home_del_send(Ecore_X_Window win);
2351EAPI void 2355EAPI void
2356 ecore_x_e_illume_access_action_next_send(Ecore_X_Window win);
2357EAPI void
2358 ecore_x_e_illume_access_action_prev_send(Ecore_X_Window win);
2359EAPI void
2360 ecore_x_e_illume_access_action_activate_send(Ecore_X_Window win);
2361EAPI void
2362 ecore_x_e_illume_access_action_read_send(Ecore_X_Window win);
2363EAPI void
2364 ecore_x_e_illume_access_action_read_next_send(Ecore_X_Window win);
2365EAPI void
2366 ecore_x_e_illume_access_action_read_prev_send(Ecore_X_Window win);
2367
2368EAPI void
2352 ecore_x_e_illume_drag_set(Ecore_X_Window win, 2369 ecore_x_e_illume_drag_set(Ecore_X_Window win,
2353 unsigned int drag); 2370 unsigned int drag);
2354EAPI Eina_Bool 2371EAPI Eina_Bool
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
index 1341716..fdac658 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -252,6 +252,13 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE;
252EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON; 252EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON;
253EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF; 253EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF;
254EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY; 254EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY;
255EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL;
256EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT;
257EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV;
258EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE;
259EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ;
260EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT;
261EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV;
255 262
256EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER; 263EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER;
257EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE; 264EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE;
diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h b/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
index 8952df3..4c9a0ce 100644
--- a/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
+++ b/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
@@ -278,6 +278,13 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE = 0;
278EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY = 0; 278EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY = 0;
279EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON = 0; 279EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON = 0;
280EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF = 0; 280EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF = 0;
281EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL = 0;
282EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT = 0;
283EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV = 0;
284EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE = 0;
285EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ = 0;
286EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT = 0;
287EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV = 0;
281 288
282EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER = 0; 289EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER = 0;
283EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE = 0; 290EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE = 0;
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c
index 17d17af..63ab4d1 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c
@@ -652,6 +652,106 @@ ecore_x_mouse_move_send(Ecore_X_Window win, int x, int y)
652} 652}
653 653
654EAPI Eina_Bool 654EAPI Eina_Bool
655ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y)
656{
657 xcb_translate_coordinates_cookie_t cookie;
658 xcb_translate_coordinates_reply_t *reply;
659 xcb_motion_notify_event_t ev;
660 xcb_void_cookie_t vcookie;
661 xcb_generic_error_t *err;
662 Ecore_X_Window root = 0;
663
664 LOGFN(__FILE__, __LINE__, __FUNCTION__);
665 CHECK_XCB_CONN;
666
667 root = ecore_x_window_root_get(win);
668 cookie = xcb_translate_coordinates(_ecore_xcb_conn, win, root, x, y);
669 reply = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL);
670 if (!reply) return EINA_FALSE;
671
672 memset(&ev, 0, sizeof(xcb_motion_notify_event_t));
673
674 ev.response_type = XCB_ENTER_NOTIFY;
675 ev.event = win;
676 ev.child = win;
677 ev.root = root;
678 ev.event_x = x;
679 ev.event_y = y;
680 ev.same_screen = 1;
681 ev.mode = XCB_NOTIFY_MODE_NORMAL;
682 ev.detail = XCB_NOTIFY_DETAIL_NONLINEAR;
683 ev.focus = 0;
684 ev.state = 0;
685 ev.root_x = reply->dst_x;
686 ev.root_y = reply->dst_y;
687 ev.time = ecore_x_current_time_get();
688 free(reply);
689
690 vcookie = xcb_send_event(_ecore_xcb_conn, 1, win,
691 XCB_EVENT_MASK_ENTER_WINDOW, (const char *)&ev);
692
693 err = xcb_request_check(_ecore_xcb_conn, vcookie);
694 if (err)
695 {
696 _ecore_xcb_error_handle(err);
697 free(err);
698 return EINA_FALSE;
699 }
700
701 return EINA_TRUE;
702}
703
704EAPI Eina_Bool
705ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y)
706{
707 xcb_translate_coordinates_cookie_t cookie;
708 xcb_translate_coordinates_reply_t *reply;
709 xcb_motion_notify_event_t ev;
710 xcb_void_cookie_t vcookie;
711 xcb_generic_error_t *err;
712 Ecore_X_Window root = 0;
713
714 LOGFN(__FILE__, __LINE__, __FUNCTION__);
715 CHECK_XCB_CONN;
716
717 root = ecore_x_window_root_get(win);
718 cookie = xcb_translate_coordinates(_ecore_xcb_conn, win, root, x, y);
719 reply = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL);
720 if (!reply) return EINA_FALSE;
721
722 memset(&ev, 0, sizeof(xcb_motion_notify_event_t));
723
724 ev.response_type = XCB_LEAVE_NOTIFY;
725 ev.event = win;
726 ev.child = win;
727 ev.root = root;
728 ev.event_x = x;
729 ev.event_y = y;
730 ev.same_screen = 1;
731 ev.mode = XCB_NOTIFY_MODE_NORMAL;
732 ev.detail = XCB_NOTIFY_DETAIL_NONLINEAR;
733 ev.focus = 0;
734 ev.state = 0;
735 ev.root_x = reply->dst_x;
736 ev.root_y = reply->dst_y;
737 ev.time = ecore_x_current_time_get();
738 free(reply);
739
740 vcookie = xcb_send_event(_ecore_xcb_conn, 1, win,
741 XCB_EVENT_MASK_LEAVE_WINDOW, (const char *)&ev);
742
743 err = xcb_request_check(_ecore_xcb_conn, vcookie);
744 if (err)
745 {
746 _ecore_xcb_error_handle(err);
747 free(err);
748 return EINA_FALSE;
749 }
750
751 return EINA_TRUE;
752}
753
754EAPI Eina_Bool
655ecore_x_keyboard_grab(Ecore_X_Window win) 755ecore_x_keyboard_grab(Ecore_X_Window win)
656{ 756{
657 xcb_grab_keyboard_cookie_t cookie; 757 xcb_grab_keyboard_cookie_t cookie;
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
index ec2daaf..9bb6c52 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
@@ -263,6 +263,13 @@ static Xcb_Atom atoms[] =
263 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON }, 263 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON },
264 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF }, 264 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF },
265 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY }, 265 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY },
266 { "_E_ILLUME_ACCESS_CONTROL", &ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL },
267 { "_E_ILLUME_ACCESS_ACTION_NEXT", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT },
268 { "_E_ILLUME_ACCESS_ACTION_PREV", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV },
269 { "_E_ILLUME_ACCESS_ACTION_ACTIVATE", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE },
270 { "_E_ILLUME_ACCESS_ACTION_READ", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ },
271 { "_E_ILLUME_ACCESS_ACTION_READ_NEXT", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT },
272 { "_E_ILLUME_ACCESS_ACTION_READ_PREV", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV },
266 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER }, 273 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER },
267 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE }, 274 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE },
268 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED }, 275 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED },
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
index 60bfc9c..6a1e773 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
@@ -912,6 +912,72 @@ ecore_x_e_illume_home_del_send(Ecore_X_Window win)
912} 912}
913 913
914EAPI void 914EAPI void
915ecore_x_e_illume_access_action_next_send(Ecore_X_Window win)
916{
917 LOGFN(__FILE__, __LINE__, __FUNCTION__);
918
919 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
920 win,
921 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT,
922 0, 0, 0, 0);
923}
924
925EAPI void
926ecore_x_e_illume_access_action_prev_send(Ecore_X_Window win)
927{
928 LOGFN(__FILE__, __LINE__, __FUNCTION__);
929
930 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
931 win,
932 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV,
933 0, 0, 0, 0);
934}
935
936EAPI void
937ecore_x_e_illume_access_action_activate_send(Ecore_X_Window win)
938{
939 LOGFN(__FILE__, __LINE__, __FUNCTION__);
940
941 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
942 win,
943 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE,
944 0, 0, 0, 0);
945}
946
947EAPI void
948ecore_x_e_illume_access_action_read_send(Ecore_X_Window win)
949{
950 LOGFN(__FILE__, __LINE__, __FUNCTION__);
951
952 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
953 win,
954 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ,
955 0, 0, 0, 0);
956}
957
958EAPI void
959ecore_x_e_illume_access_action_read_next_send(Ecore_X_Window win)
960{
961 LOGFN(__FILE__, __LINE__, __FUNCTION__);
962
963 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
964 win,
965 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT,
966 0, 0, 0, 0);
967}
968
969EAPI void
970ecore_x_e_illume_access_action_read_prev_send(Ecore_X_Window win)
971{
972 LOGFN(__FILE__, __LINE__, __FUNCTION__);
973
974 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
975 win,
976 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV,
977 0, 0, 0, 0);
978}
979
980EAPI void
915ecore_x_e_illume_drag_set(Ecore_X_Window win, 981ecore_x_e_illume_drag_set(Ecore_X_Window win,
916 unsigned int drag) 982 unsigned int drag)
917{ 983{
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
index 4530b0c..0a7b3c8 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
@@ -1957,6 +1957,66 @@ ecore_x_mouse_up_send(Ecore_X_Window win,
1957 return XSendEvent(_ecore_x_disp, win, True, ButtonReleaseMask, &xev) ? EINA_TRUE : EINA_FALSE; 1957 return XSendEvent(_ecore_x_disp, win, True, ButtonReleaseMask, &xev) ? EINA_TRUE : EINA_FALSE;
1958} 1958}
1959 1959
1960EAPI Eina_Bool
1961ecore_x_mouse_in_send(Ecore_X_Window win,
1962 int x,
1963 int y)
1964{
1965 XEvent xev;
1966 XWindowAttributes att;
1967 Window tw;
1968 int rx, ry;
1969
1970 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1971 XGetWindowAttributes(_ecore_x_disp, win, &att);
1972 XTranslateCoordinates(_ecore_x_disp, win, att.root, x, y, &rx, &ry, &tw);
1973 xev.xcrossing.type = EnterNotify;
1974 xev.xcrossing.window = win;
1975 xev.xcrossing.root = att.root;
1976 xev.xcrossing.subwindow = win;
1977 xev.xcrossing.time = _ecore_x_event_last_time;
1978 xev.xcrossing.x = x;
1979 xev.xcrossing.y = y;
1980 xev.xcrossing.x_root = rx;
1981 xev.xcrossing.y_root = ry;
1982 xev.xcrossing.mode = NotifyNormal;
1983 xev.xcrossing.detail = NotifyNonlinear;
1984 xev.xcrossing.same_screen = 1;
1985 xev.xcrossing.focus = 0;
1986 xev.xcrossing.state = 0;
1987 return XSendEvent(_ecore_x_disp, win, True, EnterWindowMask, &xev) ? EINA_TRUE : EINA_FALSE;
1988}
1989
1990EAPI Eina_Bool
1991ecore_x_mouse_out_send(Ecore_X_Window win,
1992 int x,
1993 int y)
1994{
1995 XEvent xev;
1996 XWindowAttributes att;
1997 Window tw;
1998 int rx, ry;
1999
2000 LOGFN(__FILE__, __LINE__, __FUNCTION__);
2001 XGetWindowAttributes(_ecore_x_disp, win, &att);
2002 XTranslateCoordinates(_ecore_x_disp, win, att.root, x, y, &rx, &ry, &tw);
2003 xev.xcrossing.type = LeaveNotify;
2004 xev.xcrossing.window = win;
2005 xev.xcrossing.root = att.root;
2006 xev.xcrossing.subwindow = win;
2007 xev.xcrossing.time = _ecore_x_event_last_time;
2008 xev.xcrossing.x = x;
2009 xev.xcrossing.y = y;
2010 xev.xcrossing.x_root = rx;
2011 xev.xcrossing.y_root = ry;
2012 xev.xcrossing.mode = NotifyNormal;
2013 xev.xcrossing.detail = NotifyNonlinear;
2014 xev.xcrossing.same_screen = 1;
2015 xev.xcrossing.focus = 0;
2016 xev.xcrossing.state = 0;
2017 return XSendEvent(_ecore_x_disp, win, True, LeaveWindowMask, &xev) ? EINA_TRUE : EINA_FALSE;
2018}
2019
1960EAPI void 2020EAPI void
1961ecore_x_focus_reset(void) 2021ecore_x_focus_reset(void)
1962{ 2022{
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
index 7a8bffa..56e75cc 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
@@ -284,6 +284,14 @@ _ecore_x_atoms_init(void)
284 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON }, 284 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON },
285 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF }, 285 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF },
286 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY }, 286 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY },
287 { "_E_ILLUME_ACCESS_CONTROL", &ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL },
288 { "_E_ILLUME_ACCESS_ACTION_NEXT", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT },
289 { "_E_ILLUME_ACCESS_ACTION_PREV", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV },
290 { "_E_ILLUME_ACCESS_ACTION_ACTIVATE", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE },
291 { "_E_ILLUME_ACCESS_ACTION_READ", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ },
292 { "_E_ILLUME_ACCESS_ACTION_READ_NEXT", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT },
293 { "_E_ILLUME_ACCESS_ACTION_READ_PREV", &ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV },
294
287 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER }, 295 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER },
288 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE }, 296 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE },
289 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED }, 297 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED },
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
index 4bd5218..0ac2035 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -376,6 +376,66 @@ ecore_x_e_illume_home_del_send(Ecore_X_Window win)
376} 376}
377 377
378EAPI void 378EAPI void
379ecore_x_e_illume_access_action_next_send(Ecore_X_Window win)
380{
381 LOGFN(__FILE__, __LINE__, __FUNCTION__);
382 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
383 win,
384 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_NEXT,
385 0, 0, 0, 0);
386}
387
388EAPI void
389ecore_x_e_illume_access_action_prev_send(Ecore_X_Window win)
390{
391 LOGFN(__FILE__, __LINE__, __FUNCTION__);
392 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
393 win,
394 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_PREV,
395 0, 0, 0, 0);
396}
397
398EAPI void
399ecore_x_e_illume_access_action_activate_send(Ecore_X_Window win)
400{
401 LOGFN(__FILE__, __LINE__, __FUNCTION__);
402 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
403 win,
404 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE,
405 0, 0, 0, 0);
406}
407
408EAPI void
409ecore_x_e_illume_access_action_read_send(Ecore_X_Window win)
410{
411 LOGFN(__FILE__, __LINE__, __FUNCTION__);
412 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
413 win,
414 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ,
415 0, 0, 0, 0);
416}
417
418EAPI void
419ecore_x_e_illume_access_action_read_next_send(Ecore_X_Window win)
420{
421 LOGFN(__FILE__, __LINE__, __FUNCTION__);
422 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
423 win,
424 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_NEXT,
425 0, 0, 0, 0);
426}
427
428EAPI void
429ecore_x_e_illume_access_action_read_prev_send(Ecore_X_Window win)
430{
431 LOGFN(__FILE__, __LINE__, __FUNCTION__);
432 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL,
433 win,
434 ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ_PREV,
435 0, 0, 0, 0);
436}
437
438EAPI void
379ecore_x_e_illume_drag_set(Ecore_X_Window win, 439ecore_x_e_illume_drag_set(Ecore_X_Window win,
380 unsigned int drag) 440 unsigned int drag)
381{ 441{