From: caro Date: Sun, 19 Apr 2009 08:37:08 +0000 (+0000) Subject: fix default values of z and direction X-Git-Tag: build/2012-07-04.173327~2610 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4b91852c8e9bdb2fb5b07d93327ffe0bf2b0ebe;p=profile%2Fivi%2Fecore.git fix default values of z and direction git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@40215 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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;