From 8b6d662acb803c052606c0dd201dfcfb610dc2ea Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 22 May 2012 15:12:40 +0000 Subject: [PATCH] Ecore_X(cb): Fix ecore_x to build again with xcb. SVN revision: 71327 --- legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 63ab4d1fe5..647d8b183b 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb.c +++ b/legacy/ecore/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;