From 782e0139aa2ae2ea7a5afcc23431491ed6e4792d Mon Sep 17 00:00:00 2001 From: devilhorns Date: Tue, 22 May 2012 15:12:40 +0000 Subject: [PATCH] Ecore_X(cb): Fix ecore_x to build again with xcb. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71327 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_x/xcb/ecore_xcb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/ecore_x/xcb/ecore_xcb.c b/src/lib/ecore_x/xcb/ecore_xcb.c index 63ab4d1..647d8b1 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb.c +++ b/src/lib/ecore_x/xcb/ecore_xcb.c @@ -656,7 +656,7 @@ ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y) { xcb_translate_coordinates_cookie_t cookie; xcb_translate_coordinates_reply_t *reply; - xcb_motion_notify_event_t ev; + xcb_enter_notify_event_t ev; xcb_void_cookie_t vcookie; xcb_generic_error_t *err; Ecore_X_Window root = 0; @@ -677,10 +677,10 @@ ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y) ev.root = root; ev.event_x = x; ev.event_y = y; - ev.same_screen = 1; + ev.same_screen_focus = 1; ev.mode = XCB_NOTIFY_MODE_NORMAL; ev.detail = XCB_NOTIFY_DETAIL_NONLINEAR; - ev.focus = 0; + /* ev.focus = 0; */ ev.state = 0; ev.root_x = reply->dst_x; ev.root_y = reply->dst_y; @@ -706,7 +706,7 @@ ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y) { xcb_translate_coordinates_cookie_t cookie; xcb_translate_coordinates_reply_t *reply; - xcb_motion_notify_event_t ev; + xcb_leave_notify_event_t ev; xcb_void_cookie_t vcookie; xcb_generic_error_t *err; Ecore_X_Window root = 0; @@ -727,10 +727,10 @@ ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y) ev.root = root; ev.event_x = x; ev.event_y = y; - ev.same_screen = 1; + ev.same_screen_focus = 1; ev.mode = XCB_NOTIFY_MODE_NORMAL; ev.detail = XCB_NOTIFY_DETAIL_NONLINEAR; - ev.focus = 0; + /* ev.focus = 0; */ ev.state = 0; ev.root_x = reply->dst_x; ev.root_y = reply->dst_y; -- 2.7.4