From 04013d7a0c67e08ac7e1d36480a8fd45642abad0 Mon Sep 17 00:00:00 2001 From: devilhorns Date: Tue, 22 May 2012 15:15:52 +0000 Subject: [PATCH] Ecore_X(cb): And memset the appropriate structure too. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71328 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_x/xcb/ecore_xcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_x/xcb/ecore_xcb.c b/src/lib/ecore_x/xcb/ecore_xcb.c index 647d8b1..7bb2dff 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb.c +++ b/src/lib/ecore_x/xcb/ecore_xcb.c @@ -669,7 +669,7 @@ ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y) reply = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL); if (!reply) return EINA_FALSE; - memset(&ev, 0, sizeof(xcb_motion_notify_event_t)); + memset(&ev, 0, sizeof(xcb_enter_notify_event_t)); ev.response_type = XCB_ENTER_NOTIFY; ev.event = win; @@ -719,7 +719,7 @@ ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y) reply = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL); if (!reply) return EINA_FALSE; - memset(&ev, 0, sizeof(xcb_motion_notify_event_t)); + memset(&ev, 0, sizeof(xcb_leave_notify_event_t)); ev.response_type = XCB_LEAVE_NOTIFY; ev.event = win; -- 2.7.4