From a4b91852c8e9bdb2fb5b07d93327ffe0bf2b0ebe Mon Sep 17 00:00:00 2001 From: caro Date: Sun, 19 Apr 2009 08:37:08 +0000 Subject: [PATCH] fix default values of z and direction git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@40215 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_x/xlib/ecore_x_events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_x/xlib/ecore_x_events.c b/src/lib/ecore_x/xlib/ecore_x_events.c index d50c72b..8838778 100644 --- a/src/lib/ecore_x/xlib/ecore_x_events.c +++ b/src/lib/ecore_x/xlib/ecore_x_events.c @@ -454,6 +454,7 @@ _ecore_x_event_handle_button_press(XEvent *xevent) case 5: e->direction = 0; e->z = 1; break; case 6: e->direction = 1; e->z = -1; break; case 7: e->direction = 1; e->z = 1; break; + default: e->direction = 0; e->z = 0; break; } e->x = xevent->xbutton.x; -- 2.7.4