fix button up for buttons 8,9 etc.
authorCarsten Haitzler <raster@rasterman.com>
Sun, 12 Nov 2006 01:32:30 +0000 (01:32 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sun, 12 Nov 2006 01:32:30 +0000 (01:32 +0000)
SVN revision: 27059

legacy/ecore/src/lib/ecore_x/ecore_x_events.c

index 6cfc4fd..328c5c3 100644 (file)
@@ -480,7 +480,7 @@ void
 _ecore_x_event_handle_button_release(XEvent *xevent)
 {
    /* filter out wheel buttons */
-   if (xevent->xbutton.button <= 3)
+   if ((xevent->xbutton.button <= 3) || (xevent->xbutton.button > 7))
      {
          {
             Ecore_X_Event_Mouse_Move *e;