Commit 3deb33d4 authored by Nelson Benítez León's avatar Nelson Benítez León Committed by Nelson Benítez León

eel-canvas: ignore extra mouse button events

Ignore button press/release events for mouse buttons greater
than 5 so allowing forward and backward mouse buttons to work
over icons.

Part of bug 660006
Signed-off-by: Nelson Benítez León's avatarNelson Benitez Leon <nbenitezl@gmail.com>
parent 49c753b1
......@@ -3006,6 +3006,10 @@ eel_canvas_button (GtkWidget *widget, GdkEventButton *event)
canvas = EEL_CANVAS (widget);
/* Don't handle extra mouse button events */
if (event->button > 5)
return FALSE;
/*
* dispatch normally regardless of the event's window if an item has
* has a pointer grab in effect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment